IGNITE-1097 review (cherry picked from commit 07a98df)
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/e11f46b8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/e11f46b8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/e11f46b8 Branch: refs/heads/ignite-1056 Commit: e11f46b8e9e1aa8634eeb85122a331958561c90b Parents: 76515ae Author: Yakov Zhdanov <yzhda...@gridgain.com> Authored: Thu Jul 9 17:47:26 2015 +0300 Committer: sevdokimov <sergey.evdoki...@jetbrains.com> Committed: Fri Jul 10 10:48:22 2015 +0300 ---------------------------------------------------------------------- .../ignite/internal/util/future/GridFutureChainListener.java | 4 ---- .../processors/cache/GridCacheAbstractFullApiSelfTest.java | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e11f46b8/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridFutureChainListener.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridFutureChainListener.java b/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridFutureChainListener.java index d98538e..43ffa61 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridFutureChainListener.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridFutureChainListener.java @@ -19,7 +19,6 @@ package org.apache.ignite.internal.util.future; import org.apache.ignite.internal.*; import org.apache.ignite.internal.util.lang.*; -import org.apache.ignite.internal.util.typedef.internal.*; import org.apache.ignite.lang.*; /** @@ -57,9 +56,6 @@ public class GridFutureChainListener<T, R> implements IgniteInClosure<IgniteInte fut.onDone(e.unwrap()); } catch (RuntimeException | Error e) { - U.warn(null, "Failed to notify chained future (is grid stopped?) [doneCb=" + doneCb + - ", err=" + e.getMessage() + ']'); - fut.onDone(e); throw e; http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e11f46b8/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java index 3f9c365..0a8f87c 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java @@ -69,7 +69,7 @@ public abstract class GridCacheAbstractFullApiSelfTest extends GridCacheAbstract throw new RuntimeException("Failed!"); } }; - + /** Increment processor for invoke operations. */ public static final EntryProcessor<String, Integer, String> INCR_PROCESSOR = new EntryProcessor<String, Integer, String>() { @Override public String process(MutableEntry<String, Integer> e, Object... args) { @@ -5005,7 +5005,7 @@ public abstract class GridCacheAbstractFullApiSelfTest extends GridCacheAbstract */ public void testTransformException() throws Exception { final IgniteCache<String, Integer> cache = jcache().withAsync(); - + cache.invoke("key2", ERR_PROCESSOR); assertThrows(log, new Callable<Object>() { @@ -5023,7 +5023,7 @@ public abstract class GridCacheAbstractFullApiSelfTest extends GridCacheAbstract } }, EntryProcessorException.class, null); } - + /** * Sets given value, returns old value. */