lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r920411 - /lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/SegmentInfo.java
Date Mon, 08 Mar 2010 17:31:55 GMT
Author: mikemccand
Date: Mon Mar  8 17:31:55 2010
New Revision: 920411

URL: http://svn.apache.org/viewvc?rev=920411&view=rev
Log:
fix unchecked warnings on flex branch (generics policeman scolded me)

Modified:
    lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/SegmentInfo.java

Modified: lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/SegmentInfo.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/SegmentInfo.java?rev=920411&r1=920410&r2=920411&view=diff
==============================================================================
--- lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/SegmentInfo.java (original)
+++ lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/SegmentInfo.java Mon Mar
 8 17:31:55 2010
@@ -612,7 +612,7 @@
       return files;
     }
     
-    Set fileSet = new HashSet<String>();
+    Set<String> fileSet = new HashSet<String>();
     
     boolean useCompoundFile = getUseCompoundFile();
 
@@ -694,7 +694,7 @@
       }
     }
 
-    files = new ArrayList(fileSet);
+    files = new ArrayList<String>(fileSet);
 
     return files;
   }



Mime
View raw message