ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yzhda...@apache.org
Subject ignite git commit: minor
Date Mon, 10 Apr 2017 08:54:56 GMT
Repository: ignite
Updated Branches:
  refs/heads/master 7201f2c41 -> 118baebf8


minor


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/118baebf
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/118baebf
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/118baebf

Branch: refs/heads/master
Commit: 118baebf800b91089981754e349688b8e07ac517
Parents: 7201f2c
Author: Yakov Zhdanov <yzhdanov@gridgain.com>
Authored: Mon Apr 10 11:54:48 2017 +0300
Committer: Yakov Zhdanov <yzhdanov@gridgain.com>
Committed: Mon Apr 10 11:54:48 2017 +0300

----------------------------------------------------------------------
 .../apache/ignite/spi/deployment/local/LocalDeploymentSpi.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/118baebf/modules/core/src/main/java/org/apache/ignite/spi/deployment/local/LocalDeploymentSpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/deployment/local/LocalDeploymentSpi.java
b/modules/core/src/main/java/org/apache/ignite/spi/deployment/local/LocalDeploymentSpi.java
index 9d46737..b0088d6 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/deployment/local/LocalDeploymentSpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/deployment/local/LocalDeploymentSpi.java
@@ -19,7 +19,6 @@ package org.apache.ignite.spi.deployment.local;
 
 import java.io.InputStream;
 import java.util.Collection;
-import java.util.HashMap;
 import java.util.LinkedList;
 import java.util.Map;
 import java.util.Map.Entry;
@@ -232,7 +231,7 @@ public class LocalDeploymentSpi extends IgniteSpiAdapter implements DeploymentSp
 
         // Maps resources to classes.
         // Map may contain 2 entries for one class.
-        Map<String, String> regRsrcs = new HashMap<>(2, 1.0f);
+        Map<String, String> regRsrcs = U.newHashMap(2);
 
         // Check alias collision for added classes.
         String alias = null;
@@ -416,4 +415,4 @@ public class LocalDeploymentSpi extends IgniteSpiAdapter implements DeploymentSp
             super(spiAdapter);
         }
     }
-}
\ No newline at end of file
+}


Mime
View raw message