ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject [39/50] [abbrv] incubator-ignite git commit: # IGNITE-128: Removed enterprise process class name logic.
Date Wed, 11 Feb 2015 01:35:08 GMT
# IGNITE-128: Removed enterprise process class name logic.


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

Branch: refs/heads/ignite-82
Commit: dece1ccfeccfe6e331829e88d1d12c991f2a3d21
Parents: 70f51ad
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Tue Feb 10 17:37:21 2015 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Tue Feb 10 17:37:21 2015 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/internal/IgniteKernal.java     | 15 ---------------
 1 file changed, 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/dece1ccf/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
index 0894f28..e995ae2 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
@@ -3410,13 +3410,6 @@ public class IgniteKernal extends ClusterGroupAdapter implements IgniteEx,
Ignit
         // TODO 9341: get rid of ent/os after moving ent code to plugin.
         Class<T> implCls = null;
 
-        try {
-            implCls = (Class<T>)Class.forName(enterpriseClassName(cls));
-        }
-        catch (ClassNotFoundException ignore) {
-            // No-op.
-        }
-
         if (implCls == null) {
             try {
                 implCls = (Class<T>)Class.forName(openSourceClassName(cls));
@@ -3453,14 +3446,6 @@ public class IgniteKernal extends ClusterGroupAdapter implements IgniteEx,
Ignit
 
     /**
      * @param cls Component interface.
-     * @return Name of component implementation class for enterprise edition.
-     */
-    private static String enterpriseClassName(Class<?> cls) {
-        return cls.getPackage().getName() + ".ent." + cls.getSimpleName().replace("Grid",
"GridEnt");
-    }
-
-    /**
-     * @param cls Component interface.
      * @return Name of component implementation class for open source edition.
      */
     private static String openSourceClassName(Class<?> cls) {


Mime
View raw message