You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2017/06/21 10:26:06 UTC
[06/11] ignite git commit: ignite-5556 Fixed return type for
SizeLongJob
ignite-5556 Fixed return type for SizeLongJob
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f58b2229
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f58b2229
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f58b2229
Branch: refs/heads/ignite-2.1.2-exchange
Commit: f58b222907199ae51cf02dd48eac99ea3a2f1ae3
Parents: 19a78a9
Author: sboikov <sb...@gridgain.com>
Authored: Tue Jun 20 13:50:42 2017 +0300
Committer: sboikov <sb...@gridgain.com>
Committed: Tue Jun 20 13:50:42 2017 +0300
----------------------------------------------------------------------
.../apache/ignite/internal/processors/cache/GridCacheAdapter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/f58b2229/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
index 40998ca..e08d13a 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
@@ -5368,7 +5368,7 @@ public abstract class GridCacheAdapter<K, V> implements IgniteInternalCache<K, V
/** {@inheritDoc} */
@Nullable @Override public Object localExecute(@Nullable IgniteInternalCache cache) {
if (cache == null)
- return 0;
+ return 0L;
try {
return cache.localSizeLong(peekModes);