From 9bf158e0954343d6b74908f2b70a51bfeef88a07 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Mon, 23 Apr 2012 15:08:27 +0000 Subject: [PATCH] LUCENE-4011: work around javadoc bug and enable javadocs-lint for solr git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329272 13f79535-47bb-0310-9956-ffa450edef68 --- dev-tools/scripts/checkJavadocLinks.py | 4 ++++ solr/build.xml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-tools/scripts/checkJavadocLinks.py b/dev-tools/scripts/checkJavadocLinks.py index de2eb3f1ba2..c8a0f3c71c6 100644 --- a/dev-tools/scripts/checkJavadocLinks.py +++ b/dev-tools/scripts/checkJavadocLinks.py @@ -186,6 +186,10 @@ def checkAll(dirName): elif link.startswith('javascript:'): # ok...? pass + elif 'org/apache/solr/client/solrj/beans/Field.html' in link: + # see LUCENE-4011: this is a javadocs bug for constants + # on annotations it seems? + pass elif link not in allFiles: # We only load HTML... so if the link is another resource (eg # SweetSpotSimilarity refs diff --git a/solr/build.xml b/solr/build.xml index 909211821ad..2c2e50a36f7 100644 --- a/solr/build.xml +++ b/solr/build.xml @@ -546,7 +546,7 @@ - +