lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1483730 - in /lucene/dev/branches/branch_4x: ./ dev-tools/ dev-tools/scripts/checkJavadocLinks.py
Date Fri, 17 May 2013 10:48:43 GMT
Author: mikemccand
Date: Fri May 17 10:48:43 2013
New Revision: 1483730

URL: http://svn.apache.org/r1483730
Log:
make duplicate anchors a hard error

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

Modified: lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavadocLinks.py
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavadocLinks.py?rev=1483730&r1=1483729&r2=1483730&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavadocLinks.py (original)
+++ lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavadocLinks.py Fri May 17 10:48:43
2013
@@ -65,7 +65,7 @@ class FindHyperlinks(HTMLParser):
             pass
           else:
             self.printFile()
-            print('    WARNING: anchor "%s" appears more than once' % name)
+            raise RuntimeError('anchor "%s" appears more than once' % name)
         else:
           self.anchors.add(name)
       elif href is not None:



Mime
View raw message