lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r802767 - /lucene/java/trunk/contrib/analyzers/common/src/test/org/apache/lucene/analysis/compound/TestCompoundWordTokenFilter.java
Date Mon, 10 Aug 2009 12:47:53 GMT
Author: mikemccand
Date: Mon Aug 10 12:47:52 2009
New Revision: 802767

URL: http://svn.apache.org/viewvc?rev=802767&view=rev
Log:
LUCENE-1786: make the patternsFileContent static, so we only load it once, not 4 times, when
running this test

Modified:
    lucene/java/trunk/contrib/analyzers/common/src/test/org/apache/lucene/analysis/compound/TestCompoundWordTokenFilter.java

Modified: lucene/java/trunk/contrib/analyzers/common/src/test/org/apache/lucene/analysis/compound/TestCompoundWordTokenFilter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/analyzers/common/src/test/org/apache/lucene/analysis/compound/TestCompoundWordTokenFilter.java?rev=802767&r1=802766&r2=802767&view=diff
==============================================================================
--- lucene/java/trunk/contrib/analyzers/common/src/test/org/apache/lucene/analysis/compound/TestCompoundWordTokenFilter.java
(original)
+++ lucene/java/trunk/contrib/analyzers/common/src/test/org/apache/lucene/analysis/compound/TestCompoundWordTokenFilter.java
Mon Aug 10 12:47:52 2009
@@ -49,7 +49,7 @@
       // too slow:
       //"http://superb-east.dl.sourceforge.net/sourceforge/offo/offo-hyphenation.zip"};
 
-  private byte[] patternsFileContent;
+  private static byte[] patternsFileContent;
 
   protected void setUp() throws Exception {
     super.setUp();



Mime
View raw message