mirror of https://github.com/apache/lucene.git
LUCENE-6482: Fix detection of default codec for documentation homepage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684024 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c4d13fd654
commit
4e783ac8c1
|
@ -205,8 +205,8 @@
|
||||||
<property name="Codec.java" location="core/src/java/org/apache/lucene/codecs/Codec.java"/>
|
<property name="Codec.java" location="core/src/java/org/apache/lucene/codecs/Codec.java"/>
|
||||||
<loadfile srcfile="${Codec.java}" property="defaultCodec" encoding="UTF-8">
|
<loadfile srcfile="${Codec.java}" property="defaultCodec" encoding="UTF-8">
|
||||||
<filterchain>
|
<filterchain>
|
||||||
<!-- private static Codec defaultCodec = Codec . forName ( "LuceneXXX" ) ; -->
|
<!-- private static Codec defaultCodec = LOADER . lookup ( "LuceneXXX" ) ; -->
|
||||||
<containsregex pattern="^.*defaultCodec\s*=\s*Codec\s*\.\s*forName\s*\(\s*"([^"]+)"\s*\)\s*;.*$" replace="\1"/>
|
<containsregex pattern="^.*defaultCodec\s*=\s*LOADER\s*\.\s*lookup\s*\(\s*"([^"]+)"\s*\)\s*;.*$" replace="\1"/>
|
||||||
</filterchain>
|
</filterchain>
|
||||||
</loadfile>
|
</loadfile>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue