You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2016/12/21 15:31:47 UTC

lucene-solr:master: fix generics javac warnings

Repository: lucene-solr
Updated Branches:
  refs/heads/master 80462df86 -> 6bc001ba4


fix generics javac warnings


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/6bc001ba
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/6bc001ba
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/6bc001ba

Branch: refs/heads/master
Commit: 6bc001ba43035667e97dc7b5503ba80d20b142c8
Parents: 80462df
Author: Mike McCandless <mi...@apache.org>
Authored: Wed Dec 21 10:31:36 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Wed Dec 21 10:31:36 2016 -0500

----------------------------------------------------------------------
 .../org/apache/lucene/index/TrackingTmpOutputDirectoryWrapper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6bc001ba/lucene/core/src/java/org/apache/lucene/index/TrackingTmpOutputDirectoryWrapper.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/index/TrackingTmpOutputDirectoryWrapper.java b/lucene/core/src/java/org/apache/lucene/index/TrackingTmpOutputDirectoryWrapper.java
index 0325674..2827840 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);