ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [6/7] ignite git commit: WIP.
Date Fri, 16 Sep 2016 09:04:44 GMT
WIP.


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

Branch: refs/heads/ignite-3912
Commit: 437fb2040ecd07bbf46b3e92b470fdf8d2277063
Parents: 23c97cf
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Fri Sep 16 11:54:38 2016 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Fri Sep 16 11:54:38 2016 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/hadoop/HadoopClassLoader.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/437fb204/modules/hadoop/src/main/java/org/apache/ignite/internal/processors/hadoop/HadoopClassLoader.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/main/java/org/apache/ignite/internal/processors/hadoop/HadoopClassLoader.java
b/modules/hadoop/src/main/java/org/apache/ignite/internal/processors/hadoop/HadoopClassLoader.java
index 82e8255..d2be687 100644
--- a/modules/hadoop/src/main/java/org/apache/ignite/internal/processors/hadoop/HadoopClassLoader.java
+++ b/modules/hadoop/src/main/java/org/apache/ignite/internal/processors/hadoop/HadoopClassLoader.java
@@ -339,7 +339,7 @@ public class HadoopClassLoader extends URLClassLoader implements ClassCache
{
      * @return {@code True} if class has external dependencies.
      */
     boolean hasExternalDependencies(String clsName) {
-        Boolean hasDeps = cache.get(name);
+        Boolean hasDeps = cache.get(clsName);
 
         if (hasDeps == null) {
             CollectingContext ctx = new CollectingContext();
@@ -351,7 +351,7 @@ public class HadoopClassLoader extends URLClassLoader implements ClassCache
{
 
             hasDeps = hasExternalDependencies(clsName, ctx);
 
-            cache.put(name, hasDeps);
+            cache.put(clsName, hasDeps);
         }
 
         return hasDeps;


Mime
View raw message