GEODE-2455: use spotlessApply to fix format

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

Branch: refs/heads/feature/GEODE-2456
Commit: f7a8ae679c731c91dfd6d414e46429a3abaa5754
Parents: a61c55b
Author: Kirk Lund <[email protected]>
Authored: Thu Feb 9 15:12:04 2017 -0800
Committer: Kirk Lund <[email protected]>
Committed: Thu Feb 9 15:12:29 2017 -0800

----------------------------------------------------------------------
 .../DescribeDiskStoreFunctionJUnitTest.java        | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/f7a8ae67/geode-core/src/test/java/org/apache/geode/management/internal/cli/functions/DescribeDiskStoreFunctionJUnitTest.java
----------------------------------------------------------------------
diff --git 
a/geode-core/src/test/java/org/apache/geode/management/internal/cli/functions/DescribeDiskStoreFunctionJUnitTest.java
 
b/geode-core/src/test/java/org/apache/geode/management/internal/cli/functions/DescribeDiskStoreFunctionJUnitTest.java
index 1dd504a..e0038ef 100644
--- 
a/geode-core/src/test/java/org/apache/geode/management/internal/cli/functions/DescribeDiskStoreFunctionJUnitTest.java
+++ 
b/geode-core/src/test/java/org/apache/geode/management/internal/cli/functions/DescribeDiskStoreFunctionJUnitTest.java
@@ -286,9 +286,9 @@ public class DescribeDiskStoreFunctionJUnitTest {
 
   @Test
   public void testAssertStateThrowsIllegalStateException() {
-    assertThatThrownBy(() ->
-      DescribeDiskStoreFunction.assertState(false, "Expected (%1$s) message!", 
"test"))
-      .isInstanceOf(IllegalStateException.class).hasMessage("Expected (test) 
message!");
+    assertThatThrownBy(
+        () -> DescribeDiskStoreFunction.assertState(false, "Expected (%1$s) 
message!", "test"))
+            .isInstanceOf(IllegalStateException.class).hasMessage("Expected 
(test) message!");
   }
 
   private void setupEmptyRegionsPdxGatewaysCacheServersAndAsyncEventQueues(
@@ -644,9 +644,9 @@ public class DescribeDiskStoreFunctionJUnitTest {
     function.execute(mockFunctionContext);
 
     String expected = String.format("A disk store with name (%1$s) was not 
found on member (%2$s).",
-      diskStoreName, memberName);
+        diskStoreName, memberName);
     assertThatThrownBy(() -> testResultSender.getResults())
-      .isInstanceOf(DiskStoreNotFoundException.class).hasMessage(expected);
+        .isInstanceOf(DiskStoreNotFoundException.class).hasMessage(expected);
   }
 
   @Test
@@ -686,8 +686,8 @@ public class DescribeDiskStoreFunctionJUnitTest {
 
     function.execute(mockFunctionContext);
 
-    assertThatThrownBy(() -> testResultSender.getResults())
-      .isInstanceOf(RuntimeException.class).hasMessage("ExpectedStrings");
+    assertThatThrownBy(() -> 
testResultSender.getResults()).isInstanceOf(RuntimeException.class)
+        .hasMessage("ExpectedStrings");
   }
 
   @Test
@@ -744,7 +744,8 @@ public class DescribeDiskStoreFunctionJUnitTest {
 
     function.execute(mockFunctionContext);
 
-    String expected = "The number of disk directories with a specified size 
(0) does not match the number of disk directories (1)!";
+    String expected =
+        "The number of disk directories with a specified size (0) does not 
match the number of disk directories (1)!";
     assertThatThrownBy(() -> 
testResultSender.getResults()).hasMessage(expected);
   }
 

Reply via email to