You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bs...@apache.org on 2016/12/19 22:46:12 UTC
geode git commit: Bowing to the Spotless Monarch,
I have let it add a couple of blank lines.
Repository: geode
Updated Branches:
refs/heads/develop 8ace5128f -> 284bed968
Bowing to the Spotless Monarch, I have let it add a couple of blank lines.
Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/284bed96
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/284bed96
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/284bed96
Branch: refs/heads/develop
Commit: 284bed9680c2b2bbf2a13437951770dbdfec57c9
Parents: 8ace512
Author: Bruce Schuchardt <bs...@pivotal.io>
Authored: Mon Dec 19 14:44:27 2016 -0800
Committer: Bruce Schuchardt <bs...@pivotal.io>
Committed: Mon Dec 19 14:44:27 2016 -0800
----------------------------------------------------------------------
.../internal/util/concurrent/FutureResultJUnitTest.java | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/geode/blob/284bed96/geode-core/src/test/java/org/apache/geode/internal/util/concurrent/FutureResultJUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/util/concurrent/FutureResultJUnitTest.java b/geode-core/src/test/java/org/apache/geode/internal/util/concurrent/FutureResultJUnitTest.java
index 196438c..d9611fe 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/util/concurrent/FutureResultJUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/util/concurrent/FutureResultJUnitTest.java
@@ -27,14 +27,14 @@ import java.util.concurrent.TimeUnit;
/**
* Unit tests for {@link FutureResult}.
-
+ *
*/
@Category(UnitTest.class)
public class FutureResultJUnitTest {
-
+
@Test
public void cancelledFutureResultThrowsExceptionOnGet() throws Exception {
- TestCancelCriterion cancelCriterion = new TestCancelCriterion();
+ TestCancelCriterion cancelCriterion = new TestCancelCriterion();
FutureResult futureResult = new FutureResult(cancelCriterion);
cancelCriterion.cancelReason = "cancelling for test";
try {
@@ -53,9 +53,10 @@ public class FutureResultJUnitTest {
// expected - thrown by the FutureResult
}
}
-
+
static class TestCancelCriterion extends CancelCriterion {
String cancelReason = "";
+
@Override
public String cancelInProgress() {
return cancelReason;