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
This commit is contained in:
Michael McCandless 2009-08-10 12:47:52 +00:00
parent 2a195d3622
commit 35ea5c1350
1 changed files with 1 additions and 1 deletions

View File

@ -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();