geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [geode] 04/04: Fix format with spotless
Date Thu, 19 Oct 2017 17:13:25 GMT
This is an automated email from the ASF dual-hosted git repository.

klund pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git

commit 674d4aed0cabc69e51aec3e3ba815bb170288484
Author: Kirk Lund <klund@apache.org>
AuthorDate: Wed Oct 18 15:30:45 2017 -0700

    Fix format with spotless
---
 .../DeprecatedAgentLauncherIntegrationTest.java        | 18 ++++++++++--------
 .../DeprecatedCacheServerLauncherIntegrationTest.java  |  2 +-
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/geode-core/src/test/java/org/apache/geode/admin/jmx/internal/DeprecatedAgentLauncherIntegrationTest.java
b/geode-core/src/test/java/org/apache/geode/admin/jmx/internal/DeprecatedAgentLauncherIntegrationTest.java
index 841d1de..71a65da 100644
--- a/geode-core/src/test/java/org/apache/geode/admin/jmx/internal/DeprecatedAgentLauncherIntegrationTest.java
+++ b/geode-core/src/test/java/org/apache/geode/admin/jmx/internal/DeprecatedAgentLauncherIntegrationTest.java
@@ -70,8 +70,9 @@ public class DeprecatedAgentLauncherIntegrationTest {
 
   @Test
   public void testGetStartOptions() throws Exception {
-    final String[] commandLineArguments = {"start", "appendto-log-file=true", "log-level=warn",
-        "mcast-port=0", "-dir=" + temporaryFolder.getRoot().getAbsolutePath(), "-J-Xms256M",
"-J-Xmx1024M"};
+    final String[] commandLineArguments =
+        {"start", "appendto-log-file=true", "log-level=warn", "mcast-port=0",
+            "-dir=" + temporaryFolder.getRoot().getAbsolutePath(), "-J-Xms256M", "-J-Xmx1024M"};
 
     final AgentLauncher launcher = new AgentLauncher("Agent");
 
@@ -96,8 +97,8 @@ public class DeprecatedAgentLauncherIntegrationTest {
     assertThat(vmArgs).contains("-Xmx1024M");
 
     // now assert the System property 'gfAgentPropertyFile'
-    assertThat(System.getProperty(AGENT_PROPSFILE_PROPERTY_NAME)).isEqualTo(
-        new File(temporaryFolder.getRoot(), DEFAULT_PROPERTY_FILE).getPath());
+    assertThat(System.getProperty(AGENT_PROPSFILE_PROPERTY_NAME))
+        .isEqualTo(new File(temporaryFolder.getRoot(), DEFAULT_PROPERTY_FILE).getPath());
   }
 
   /**
@@ -108,9 +109,9 @@ public class DeprecatedAgentLauncherIntegrationTest {
    */
   @Test
   public void testGetStartOptionsWithPropertyFileOption() throws Exception {
-    final String[] commandLineArguments =
-        {"start", "-dir=" + temporaryFolder.getRoot().getAbsolutePath(), "-J-Xms512M", "log-level=warn",
-            "mcast-port=0", "property-file=/path/to/custom/property/file.properties",};
+    final String[] commandLineArguments = {"start",
+        "-dir=" + temporaryFolder.getRoot().getAbsolutePath(), "-J-Xms512M", "log-level=warn",
+        "mcast-port=0", "property-file=/path/to/custom/property/file.properties",};
 
     final AgentLauncher launcher = new AgentLauncher("Agent");
 
@@ -142,7 +143,8 @@ public class DeprecatedAgentLauncherIntegrationTest {
 
   @Test
   public void testGetStopOptions() throws Exception {
-    final String[] commandLineArguments = {"stop", "-dir=" + temporaryFolder.getRoot().getAbsolutePath()};
+    final String[] commandLineArguments =
+        {"stop", "-dir=" + temporaryFolder.getRoot().getAbsolutePath()};
 
     final AgentLauncher launcher = new AgentLauncher("Agent");
 
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/DeprecatedCacheServerLauncherIntegrationTest.java
b/geode-core/src/test/java/org/apache/geode/internal/cache/DeprecatedCacheServerLauncherIntegrationTest.java
index 35f77a9..e2ac109 100755
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/DeprecatedCacheServerLauncherIntegrationTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/DeprecatedCacheServerLauncherIntegrationTest.java
@@ -143,7 +143,7 @@ public class DeprecatedCacheServerLauncherIntegrationTest {
     disconnectAllFromDS();
 
     invokeFailSafe();
-    
+
     unexportObject(this.status);
     unexportObject(this.registry);
     destroy(this.processWrapper);

-- 
To stop receiving notification emails like this one, please contact
"commits@geode.apache.org" <commits@geode.apache.org>.

Mime
View raw message