#ignite-373: Code style.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/7b77ba92 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/7b77ba92 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/7b77ba92 Branch: refs/heads/ignite-373 Commit: 7b77ba92a6fad3f9d33b69a8451babae6751c344 Parents: 3782c7c Author: ivasilinets <ivasilin...@gridgain.com> Authored: Tue May 12 14:29:53 2015 +0300 Committer: ivasilinets <ivasilin...@gridgain.com> Committed: Tue May 12 14:29:53 2015 +0300 ---------------------------------------------------------------------- .../cache/distributed/GridDistributedCacheAdapter.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/7b77ba92/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java index e5dbb94..91b7be8 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java @@ -154,13 +154,12 @@ public abstract class GridDistributedCacheAdapter<K, V> extends GridCacheAdapter // Send job to all data nodes. Collection<ClusterNode> nodes = ctx.grid().cluster().forDataNodes(name()).nodes(); - if (!nodes.isEmpty()) { CacheOperationContext opCtx = ctx.operationContextPerCall(); Collection<Boolean> results = ctx.closures().callAsyncNoFailover(BROADCAST, - Collections.singleton(new GlobalRemoveAllCallable<>(name(), topVer, opCtx != null && opCtx.skipStore())), nodes, - true).get(); + Collections.singleton(new GlobalRemoveAllCallable<>(name(), topVer, + opCtx != null && opCtx.skipStore())), nodes, true).get(); for (Boolean res : results) { if (res != null && !res)