Apache Lucene open-source search software
fix generics javac warnings
Mike McCandless6bc001ba4303
diff --git a/lucene/core/src/java/org/apache/lucene/index/TrackingTmpOutputDirectoryWrapper.java b/lucene/core/src/java/org/apache/lucene/index/TrackingTmpOutputDirectoryWrapper.javaindex 032567416b7..28278401bc9 100644--- a/lucene/core/src/java/org/apache/lucene/index/TrackingTmpOutputDirectoryWrapper.java+++ b/lucene/core/src/java/org/apache/lucene/index/TrackingTmpOutputDirectoryWrapper.java@@ -28,7 +28,7 @@ import org.apache.lucene.store.IndexInput;import org.apache.lucene.store.IndexOutput;final class TrackingTmpOutputDirectoryWrapper extends FilterDirectory {- private final Map<String, String> fileNames = new HashMap();+ private final Map<String,String> fileNames = new HashMap<>();TrackingTmpOutputDirectoryWrapper(Directory in) {super(in);