From b4ca62c640b322ee219277fec81e7f231b09997e Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Tue, 28 Aug 2012 02:32:51 +0000 Subject: [PATCH] don't parse incomplete ctor specification git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377949 13f79535-47bb-0310-9956-ffa450edef68 --- dev-tools/scripts/checkJavaDocs.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dev-tools/scripts/checkJavaDocs.py b/dev-tools/scripts/checkJavaDocs.py index f4e443972d8..42a79f4bab1 100644 --- a/dev-tools/scripts/checkJavaDocs.py +++ b/dev-tools/scripts/checkJavaDocs.py @@ -23,7 +23,7 @@ reMarkup = re.compile('<.*?>') reDivBlock = re.compile('
(.*?)
', re.IGNORECASE) reCaption = re.compile('(.*?)', re.IGNORECASE) reTDLast = re.compile('.*', re.IGNORECASE) -reColOne = re.compile('(.*?)', re.IGNORECASE) +reColOne = re.compile('.*', 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()