You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/04/23 00:53:20 UTC

svn commit: r1328988 - /lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py

Author: rmuir
Date: Sun Apr 22 22:53:20 2012
New Revision: 1328988

URL: http://svn.apache.org/viewvc?rev=1328988&view=rev
Log:
fix mailto and pass javascript links

Modified:
    lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py

Modified: lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py?rev=1328988&r1=1328987&r2=1328988&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py (original)
+++ lucene/dev/trunk/dev-tools/scripts/checkJavadocLinks.py Sun Apr 22 22:53:20 2012
@@ -167,13 +167,16 @@ def checkAll(dirName):
             print
             print fullPath
           print '  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 = True
             print
             print fullPath
           print '  BROKEN MAILTO (?): %s' % link
+      elif link.startswith('javascript:'):
+        # ok...?
+        pass
       elif link not in allFiles:
         # We only load HTML... so if the link is another resource (eg
         # SweetSpotSimilarity refs