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:
Uwe Schindler 2015-06-07 11:09:57 +00:00
parent c4d13fd654
commit 4e783ac8c1
1 changed files with 2 additions and 2 deletions

View File

@ -205,8 +205,8 @@
<property name="Codec.java" location="core/src/java/org/apache/lucene/codecs/Codec.java"/>
<loadfile srcfile="${Codec.java}" property="defaultCodec" encoding="UTF-8">
<filterchain>
<!-- private static Codec defaultCodec = Codec . forName ( "LuceneXXX" ) ; -->
<containsregex pattern="^.*defaultCodec\s*=\s*Codec\s*\.\s*forName\s*\(\s*&quot;([^&quot;]+)&quot;\s*\)\s*;.*$" replace="\1"/>
<!-- private static Codec defaultCodec = LOADER . lookup ( "LuceneXXX" ) ; -->
<containsregex pattern="^.*defaultCodec\s*=\s*LOADER\s*\.\s*lookup\s*\(\s*&quot;([^&quot;]+)&quot;\s*\)\s*;.*$" replace="\1"/>
</filterchain>
</loadfile>