Return-Path: X-Original-To: apmail-lucene-commits-archive@www.apache.org Delivered-To: apmail-lucene-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 21F82100A4 for ; Fri, 7 Mar 2014 17:26:04 +0000 (UTC) Received: (qmail 83235 invoked by uid 500); 7 Mar 2014 17:25:59 -0000 Mailing-List: contact commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list commits@lucene.apache.org Received: (qmail 83214 invoked by uid 99); 7 Mar 2014 17:25:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 17:25:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 17:25:54 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 481E623889E2; Fri, 7 Mar 2014 17:25:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1575337 - in /lucene/dev/branches/branch_4x: ./ dev-tools/ dev-tools/scripts/checkJavaDocs.py Date: Fri, 07 Mar 2014 17:25:33 -0000 To: commits@lucene.apache.org From: mikemccand@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140307172533.481E623889E2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mikemccand Date: Fri Mar 7 17:25:32 2014 New Revision: 1575337 URL: http://svn.apache.org/r1575337 Log: unescape %20 in urls so we don't get false failures with 1.7.0_60 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/checkJavaDocs.py Modified: lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py?rev=1575337&r1=1575336&r2=1575337&view=diff ============================================================================== --- lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py (original) +++ lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py Fri Mar 7 17:25:32 2014 @@ -212,7 +212,7 @@ def checkClassSummaries(fullPath): if inThing: if lineLower.find('') != -1: if not hasDesc: - missing.append((lastCaption, lastItem)) + missing.append((lastCaption, unEscapeURL(lastItem))) inThing = False continue else: @@ -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('>', '>')