From 35ea5c1350b5661e6c71dcab3b035115b44a55d8 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Mon, 10 Aug 2009 12:47:52 +0000 Subject: [PATCH] LUCENE-1786: make the patternsFileContent static, so we only load it once, not 4 times, when running this test git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802767 13f79535-47bb-0310-9956-ffa450edef68 --- .../lucene/analysis/compound/TestCompoundWordTokenFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/analyzers/common/src/test/org/apache/lucene/analysis/compound/TestCompoundWordTokenFilter.java b/contrib/analyzers/common/src/test/org/apache/lucene/analysis/compound/TestCompoundWordTokenFilter.java index d51edb064c6..506dfa13a43 100644 --- a/contrib/analyzers/common/src/test/org/apache/lucene/analysis/compound/TestCompoundWordTokenFilter.java +++ b/contrib/analyzers/common/src/test/org/apache/lucene/analysis/compound/TestCompoundWordTokenFilter.java @@ -49,7 +49,7 @@ public class TestCompoundWordTokenFilter extends TestCase { // 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();