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/08/28 04:32:51 UTC

svn commit: r1377949 - /lucene/dev/trunk/dev-tools/scripts/checkJavaDocs.py

Author: rmuir
Date: Tue Aug 28 02:32:51 2012
New Revision: 1377949

URL: http://svn.apache.org/viewvc?rev=1377949&view=rev
Log:
don't parse incomplete ctor specification

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

Modified: lucene/dev/trunk/dev-tools/scripts/checkJavaDocs.py
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/scripts/checkJavaDocs.py?rev=1377949&r1=1377948&r2=1377949&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/scripts/checkJavaDocs.py (original)
+++ lucene/dev/trunk/dev-tools/scripts/checkJavaDocs.py Tue Aug 28 02:32:51 2012
@@ -23,7 +23,7 @@ reMarkup = re.compile('<.*?>')
 reDivBlock = re.compile('<div class="block">(.*?)</div>', re.IGNORECASE)
 reCaption = re.compile('<caption><span>(.*?)</span>', re.IGNORECASE)
 reTDLast = re.compile('<td class="colLast">.*<a href=".*#(.*?)">', re.IGNORECASE)
-reColOne = re.compile('<td class="colOne">(.*?)</td>', re.IGNORECASE)
+reColOne = re.compile('<td class="colOne">.*<a href=".*#(.*?)">', re.IGNORECASE)
 
 def cleanHTML(s):
   s = reMarkup.sub('', s)
@@ -60,8 +60,7 @@ def checkClass(fullPath):
     else:
       m = reColOne.search(line)
       if m is not None:
-        # TODO: this will only get the first line of multi-line things:
-        lastItem = cleanHTML(m.group(1))
+        lastItem = m.group(1)
         #print('      item %s' % lastItem)
 
     lineLower = line.strip().lower()