You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rj...@apache.org on 2014/09/24 22:19:18 UTC

svn commit: r1627411 - in /lucene/dev/branches/branch_5x: ./ dev-tools/ dev-tools/scripts/checkJavadocLinks.py

Author: rjernst
Date: Wed Sep 24 20:19:18 2014
New Revision: 1627411

URL: http://svn.apache.org/r1627411
Log:
Account for whitespace in the middle of links when checking javadoc links

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/dev-tools/   (props changed)
    lucene/dev/branches/branch_5x/dev-tools/scripts/checkJavadocLinks.py

Modified: lucene/dev/branches/branch_5x/dev-tools/scripts/checkJavadocLinks.py
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/dev-tools/scripts/checkJavadocLinks.py?rev=1627411&r1=1627410&r2=1627411&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/dev-tools/scripts/checkJavadocLinks.py (original)
+++ lucene/dev/branches/branch_5x/dev-tools/scripts/checkJavadocLinks.py Wed Sep 24 20:19:18 2014
@@ -177,6 +177,9 @@ def checkAll(dirName):
       else:
         anchor = None
 
+      # remove any whitespace from the middle of the link
+      link = ''.join(link.split())
+
       idx = link.find('?')
       if idx != -1:
         link = link[:idx]