lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r928227 - /lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/PagedBytes.java
Date Sat, 27 Mar 2010 16:46:38 GMT
Author: uschindler
Date: Sat Mar 27 16:46:38 2010
New Revision: 928227

URL: http://svn.apache.org/viewvc?rev=928227&view=rev
Log:
Generics Policeman fixed a warning

Modified:
    lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/PagedBytes.java

Modified: lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/PagedBytes.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/PagedBytes.java?rev=928227&r1=928226&r2=928227&view=diff
==============================================================================
--- lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/PagedBytes.java
(original)
+++ lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/PagedBytes.java
Sat Mar 27 16:46:38 2010
@@ -37,7 +37,7 @@ class PagedBytes implements Closeable {
   private final int blockMask;
   private int upto;
   private byte[] currentBlock;
-  private final CloseableThreadLocal<byte[]> threadBuffers = new CloseableThreadLocal();
+  private final CloseableThreadLocal<byte[]> threadBuffers = new CloseableThreadLocal<byte[]>();
 
   private static final byte[] EMPTY_BYTES = new byte[0];
 



Mime
View raw message