This is an automated email from the ASF dual-hosted git repository.

jasonhuynh pushed a commit to branch support/1.13
in repository https://gitbox.apache.org/repos/asf/geode.git

commit 1637fe843561ace6a0a6a9a134c57a8c6e643b03
Author: Joris Melchior <[email protected]>
AuthorDate: Wed Jun 24 10:58:15 2020 -0400

    Fix spotless issues
    
    (cherry picked from commit 2c25481c5a0f2be667f083fc51221feb1591aef0)
---
 .../validators/DiskStoreValidatorTest.java         | 27 +++++++++++++---------
 .../rest/DiskStoreManagementIntegrationTest.java   |  9 +++++---
 2 files changed, 22 insertions(+), 14 deletions(-)

diff --git 
a/geode-core/src/test/java/org/apache/geode/management/internal/configuration/validators/DiskStoreValidatorTest.java
 
b/geode-core/src/test/java/org/apache/geode/management/internal/configuration/validators/DiskStoreValidatorTest.java
index c57fb6a..9064708 100644
--- 
a/geode-core/src/test/java/org/apache/geode/management/internal/configuration/validators/DiskStoreValidatorTest.java
+++ 
b/geode-core/src/test/java/org/apache/geode/management/internal/configuration/validators/DiskStoreValidatorTest.java
@@ -1,18 +1,18 @@
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
+ * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
+ * regarding copyright ownership. The ASF licenses this file
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
+ * with the License. You may obtain a copy of the License at
  *
- *   http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
+ * KIND, either express or implied. See the License for the
  * specific language governing permissions and limitations
  * under the License.
  */
@@ -76,12 +76,14 @@ public class DiskStoreValidatorTest {
     diskStore.setDiskUsageCriticalPercentage(-1F);
     assertThatThrownBy(() -> 
diskStoreValidator.validate(CacheElementOperation.CREATE, diskStore))
         .isInstanceOf(IllegalArgumentException.class)
-        .hasMessageContaining("Disk usage critical percentage must be set to a 
value between 0-100");
+        .hasMessageContaining(
+            "Disk usage critical percentage must be set to a value between 
0-100");
 
     diskStore.setDiskUsageCriticalPercentage(101F);
     assertThatThrownBy(() -> 
diskStoreValidator.validate(CacheElementOperation.CREATE, diskStore))
         .isInstanceOf(IllegalArgumentException.class)
-        .hasMessageContaining("Disk usage critical percentage must be set to a 
value between 0-100");
+        .hasMessageContaining(
+            "Disk usage critical percentage must be set to a value between 
0-100");
   }
 
   @Test
@@ -124,7 +126,8 @@ public class DiskStoreValidatorTest {
     diskStore.setMaxOplogSizeInBytes(-1L);
     assertThatThrownBy(() -> 
diskStoreValidator.validate(CacheElementOperation.CREATE, diskStore))
         .isInstanceOf(IllegalArgumentException.class)
-        .hasMessageContaining("Maximum Oplog size specified has to be a 
non-negative number and the value given");
+        .hasMessageContaining(
+            "Maximum Oplog size specified has to be a non-negative number and 
the value given");
   }
 
   @Test
@@ -135,7 +138,8 @@ public class DiskStoreValidatorTest {
     diskStore.setQueueSize(-1);
     assertThatThrownBy(() -> 
diskStoreValidator.validate(CacheElementOperation.CREATE, diskStore))
         .isInstanceOf(IllegalArgumentException.class)
-        .hasMessageContaining("Queue size specified has to be a non-negative 
number and the value given");
+        .hasMessageContaining(
+            "Queue size specified has to be a non-negative number and the 
value given");
   }
 
   @Test
@@ -146,7 +150,8 @@ public class DiskStoreValidatorTest {
     diskStore.setWriteBufferSize(-1);
     assertThatThrownBy(() -> 
diskStoreValidator.validate(CacheElementOperation.CREATE, diskStore))
         .isInstanceOf(IllegalArgumentException.class)
-        .hasMessageContaining("Write buffer size specified has to be a 
non-negative number and the value given");
+        .hasMessageContaining(
+            "Write buffer size specified has to be a non-negative number and 
the value given");
   }
 
   @Test
@@ -159,4 +164,4 @@ public class DiskStoreValidatorTest {
         .isInstanceOf(IllegalArgumentException.class)
         .hasMessageContaining("Dir size cannot be negative :");
   }
-}
\ No newline at end of file
+}
diff --git 
a/geode-web-management/src/integrationTest/java/org/apache/geode/management/internal/rest/DiskStoreManagementIntegrationTest.java
 
b/geode-web-management/src/integrationTest/java/org/apache/geode/management/internal/rest/DiskStoreManagementIntegrationTest.java
index dcfd131..0623589 100644
--- 
a/geode-web-management/src/integrationTest/java/org/apache/geode/management/internal/rest/DiskStoreManagementIntegrationTest.java
+++ 
b/geode-web-management/src/integrationTest/java/org/apache/geode/management/internal/rest/DiskStoreManagementIntegrationTest.java
@@ -113,7 +113,8 @@ public class DiskStoreManagementIntegrationTest {
         .hasStatusCode(ClusterManagementResult.StatusCode.OK);
 
     assertThatThrownBy(() -> client.create(diskStore))
-        .hasMessageContaining("ENTITY_EXISTS: DiskStore 'storeone' already 
exists in group cluster");
+        .hasMessageContaining(
+            "ENTITY_EXISTS: DiskStore 'storeone' already exists in group 
cluster");
 
     assertManagementResult(client.delete(diskStore))
         .hasStatusCode(ClusterManagementResult.StatusCode.OK);
@@ -127,7 +128,8 @@ public class DiskStoreManagementIntegrationTest {
     diskStore.setDiskUsageCriticalPercentage(120.0F);
 
     assertThatThrownBy(() -> client.create(diskStore))
-        .hasMessageContaining("ILLEGAL_ARGUMENT: Disk usage critical 
percentage must be set to a value between 0-100.  The value 120.0 is invalid");
+        .hasMessageContaining(
+            "ILLEGAL_ARGUMENT: Disk usage critical percentage must be set to a 
value between 0-100.  The value 120.0 is invalid");
   }
 
   @Test
@@ -139,7 +141,8 @@ public class DiskStoreManagementIntegrationTest {
     assertManagementResult(client.create(diskStore))
         .hasStatusCode(ClusterManagementResult.StatusCode.OK);
 
-    ClusterManagementGetResult<DiskStore, DiskStoreInfo> 
clusterManagementGetResult = client.get(diskStore);
+    ClusterManagementGetResult<DiskStore, DiskStoreInfo> 
clusterManagementGetResult =
+        client.get(diskStore);
     assertThat(clusterManagementGetResult.isSuccessful());
     
assertThat(clusterManagementGetResult.getResult().getId()).isEqualTo("storeone");
 

Reply via email to