Apache Lucene open-source search software
unescape %20 in urls so we don't get false failures with 1.7.0_60
Michael McCandless36edbb84ea04
diff --git a/dev-tools/scripts/checkJavaDocs.py b/dev-tools/scripts/checkJavaDocs.pyindex e68f6072493..4089a8f15b5 100644--- a/dev-tools/scripts/checkJavaDocs.py+++ b/dev-tools/scripts/checkJavaDocs.py@@ -212,7 +212,7 @@ def checkClassSummaries(fullPath):if inThing:if lineLower.find('</tr>') != -1:if not hasDesc:- missing.append((lastCaption, lastItem))+ missing.append((lastCaption, unEscapeURL(lastItem)))inThing = Falsecontinueelse:@@ -298,6 +298,11 @@ def checkSummary(fullPath):f.close()return anyMissing+def unEscapeURL(s):+ # Not exhaustive!!+ s = s.replace('%20', ' ')+ return s+def unescapeHTML(s):s = s.replace('<', '<')s = s.replace('>', '>')