ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [26/51] incubator-ignite git commit: #ignite-758: Remove type conversion.
Date Tue, 21 Apr 2015 07:04:26 GMT
#ignite-758: Remove type conversion.


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

Branch: refs/heads/ignite-737
Commit: c69401ae3877550600c1d3c47212dae8f00ebb2f
Parents: 5e77bb2
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Fri Apr 17 12:52:17 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Fri Apr 17 12:52:17 2015 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/internal/managers/GridManagerAdapter.java   | 2 +-
 .../loadtests/continuous/GridContinuousOperationsLoadTest.java    | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c69401ae/modules/core/src/main/java/org/apache/ignite/internal/managers/GridManagerAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/GridManagerAdapter.java
b/modules/core/src/main/java/org/apache/ignite/internal/managers/GridManagerAdapter.java
index e837c39..c93c059 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/managers/GridManagerAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/GridManagerAdapter.java
@@ -514,7 +514,7 @@ public abstract class GridManagerAdapter<T extends IgniteSpi> implements
GridMan
                         try {
                             IgniteInternalCache<Object, V> cache = ctx.cache().cache(spaceName);
 
-                            GridCacheContext cctx = ((GridCacheProxyImpl)cache).context();
+                            GridCacheContext cctx = cache.context();
 
                             if (cctx.isNear())
                                 cctx = cctx.near().dht().context();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c69401ae/modules/core/src/test/java/org/apache/ignite/loadtests/continuous/GridContinuousOperationsLoadTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/continuous/GridContinuousOperationsLoadTest.java
b/modules/core/src/test/java/org/apache/ignite/loadtests/continuous/GridContinuousOperationsLoadTest.java
index 3fa080d..931b4eb 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/continuous/GridContinuousOperationsLoadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/continuous/GridContinuousOperationsLoadTest.java
@@ -22,7 +22,6 @@ import org.apache.ignite.cache.*;
 import org.apache.ignite.cache.query.*;
 import org.apache.ignite.events.*;
 import org.apache.ignite.internal.*;
-import org.apache.ignite.internal.processors.cache.*;
 import org.apache.ignite.internal.processors.cache.query.continuous.*;
 import org.apache.ignite.internal.util.typedef.*;
 import org.apache.ignite.internal.util.typedef.internal.*;
@@ -85,7 +84,7 @@ public class GridContinuousOperationsLoadTest {
 
             // Continuous query manager, used to monitor queue size.
             final CacheContinuousQueryManager contQryMgr =
-                ((GridCacheAdapter)((GridCacheProxyImpl)cache).cache()).context().continuousQueries();
+                ((IgniteKernal)ignite).context().cache().cache().context().continuousQueries();
 
             if (contQryMgr == null)
                 throw new IgniteCheckedException("Could not access CacheContinuousQueryManager");


Mime
View raw message