Apache Lucene open-source search software
fix mailto and pass javascript links
Robert Muir6e9dade5d842
diff --git a/dev-tools/scripts/checkJavadocLinks.py b/dev-tools/scripts/checkJavadocLinks.pyindex cf797ed60e1..3322ece2e1a 100644--- a/dev-tools/scripts/checkJavadocLinks.py+++ b/dev-tools/scripts/checkJavadocLinks.py@@ -167,13 +167,16 @@ def checkAll(dirName):print fullPathprint ' BAD EXTERNAL LINK: %s' % link- elif link.startswith('mailto://'):+ elif link.startswith('mailto:'):if link.find('@lucene.apache.org') == -1 and link.find('@apache.org') != -1:if not printed:printed = Trueprint fullPathprint ' BROKEN MAILTO (?): %s' % link+ elif link.startswith('javascript:'):+ # ok...?+ passelif link not in allFiles:# We only load HTML... so if the link is another resource (eg# SweetSpotSimilarity refs