lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r1393144 - /lucene/dev/branches/lucene4456/lucene/core/src/test/org/apache/lucene/codecs/perfield/TestPerFieldPostingsFormat.java
Date Tue, 02 Oct 2012 19:49:49 GMT
Author: uschindler
Date: Tue Oct  2 19:49:49 2012
New Revision: 1393144

URL: http://svn.apache.org/viewvc?rev=1393144&view=rev
Log:
Fix unchecked warning

Modified:
    lucene/dev/branches/lucene4456/lucene/core/src/test/org/apache/lucene/codecs/perfield/TestPerFieldPostingsFormat.java

Modified: lucene/dev/branches/lucene4456/lucene/core/src/test/org/apache/lucene/codecs/perfield/TestPerFieldPostingsFormat.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene4456/lucene/core/src/test/org/apache/lucene/codecs/perfield/TestPerFieldPostingsFormat.java?rev=1393144&r1=1393143&r2=1393144&view=diff
==============================================================================
--- lucene/dev/branches/lucene4456/lucene/core/src/test/org/apache/lucene/codecs/perfield/TestPerFieldPostingsFormat.java
(original)
+++ lucene/dev/branches/lucene4456/lucene/core/src/test/org/apache/lucene/codecs/perfield/TestPerFieldPostingsFormat.java
Tue Oct  2 19:49:49 2012
@@ -33,7 +33,7 @@ public class TestPerFieldPostingsFormat 
   @Override
   public void setUp() throws Exception {
     super.setUp();
-    codec = new RandomCodec(new Random(random().nextLong()), Collections.EMPTY_SET);
+    codec = new RandomCodec(new Random(random().nextLong()), Collections.<String>emptySet());
   }
   
   @Override



Mime
View raw message