Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Fix file: URLs for now by disabling them!

Uwe Schindlerdfbd6403448a
diff --git a/dev-tools/scripts/checkJavadocLinks.py b/dev-tools/scripts/checkJavadocLinks.py
index 9bac5c60661..5a83e409c4c 100644
--- a/dev-tools/scripts/checkJavadocLinks.py
+++ b/dev-tools/scripts/checkJavadocLinks.py
@@ -193,6 +193,9 @@ def checkAll(dirName):
# see LUCENE-4011: this is a javadocs bug for constants
# on annotations it seems?
pass
+ elif link.startswith('file:'):
+ # TODO: fix file: paths (need to parse URL, unescape %XX and so on)
+ pass
elif link not in allFiles:
# We only load HTML... so if the link is another resource (eg
# SweetSpotSimilarity refs