geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject [04/13] incubator-geode git commit: Fixing the spotless formatting errors
Date Mon, 07 Nov 2016 18:40:55 GMT
Fixing the spotless formatting errors


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

Branch: refs/heads/feature/GEODE-2017
Commit: 1a522c05b9b990b32413c8b38dd02c87efde0fa0
Parents: 3b55eb6
Author: nabarunnag <nag@cs.wisc.edu>
Authored: Thu Nov 3 12:38:53 2016 -0700
Committer: Udo Kohlmeyer <ukohlmeyer@pivotal.io>
Committed: Tue Nov 8 05:39:37 2016 +1100

----------------------------------------------------------------------
 .../cache/query/dunit/PdxLocalQueryVersionedClassDUnitTest.java  | 4 ++--
 .../cache/execute/ClientServerFunctionExecutionDUnitTest.java    | 4 ++--
 .../org/apache/geode/internal/cache/functions/TestFunction.java  | 3 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/1a522c05/geode-core/src/test/java/org/apache/geode/cache/query/dunit/PdxLocalQueryVersionedClassDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/cache/query/dunit/PdxLocalQueryVersionedClassDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/cache/query/dunit/PdxLocalQueryVersionedClassDUnitTest.java
index f83e2ff..2a8a64c 100644
--- a/geode-core/src/test/java/org/apache/geode/cache/query/dunit/PdxLocalQueryVersionedClassDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/cache/query/dunit/PdxLocalQueryVersionedClassDUnitTest.java
@@ -82,8 +82,8 @@ public class PdxLocalQueryVersionedClassDUnitTest extends PDXQueryTestBase
{
         ClientCacheFactory cf = new ClientCacheFactory();
         cf.addPoolServer(NetworkUtils.getServerHostName(server.getHost()), port1);
         ClientCache cache = getClientCache(cf);
-        Region region = cache.createClientRegionFactory(ClientRegionShortcut.CACHING_PROXY)
-            .create(regionName);
+        Region region =
+            cache.createClientRegionFactory(ClientRegionShortcut.CACHING_PROXY).create(regionName);
 
         for (int i = 0; i < numberOfEntries; i++) {
           PdxInstanceFactory pdxInstanceFactory =

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/1a522c05/geode-core/src/test/java/org/apache/geode/internal/cache/execute/ClientServerFunctionExecutionDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/execute/ClientServerFunctionExecutionDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/internal/cache/execute/ClientServerFunctionExecutionDUnitTest.java
index 0138cd1..07f6537 100755
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/execute/ClientServerFunctionExecutionDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/execute/ClientServerFunctionExecutionDUnitTest.java
@@ -664,9 +664,9 @@ public class ClientServerFunctionExecutionDUnitTest extends PRClientServerTestBa
       ResultCollector rs = execute(member, Boolean.TRUE, function, isByName);
       ArrayList list = (ArrayList) rs.getResult();
       assertTrue("Value of send result of the executed function : " + list.get(0)
-          + "does not match the expected value : " + 1,((Integer) list.get(0)) == 1);
+          + "does not match the expected value : " + 1, ((Integer) list.get(0)) == 1);
       assertTrue("Value of last result of the executed function : " + list.get(0)
-          + "is not equal or more than expected value : " + 5,((Integer) list.get(1)) >=
5);
+          + "is not equal or more than expected value : " + 5, ((Integer) list.get(1)) >=
5);
     } catch (Exception ex) {
       ex.printStackTrace();
       Assert.fail("This is not expected Exception", ex);

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/1a522c05/geode-core/src/test/java/org/apache/geode/internal/cache/functions/TestFunction.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/functions/TestFunction.java
b/geode-core/src/test/java/org/apache/geode/internal/cache/functions/TestFunction.java
index 0b0b368..4182bf9 100755
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/functions/TestFunction.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/functions/TestFunction.java
@@ -695,7 +695,8 @@ public class TestFunction extends FunctionAdapter implements Declarable2
{
         + ds.getDistributedMember() + "with Context : " + context);
     if (retryCountForExecuteFunctionReexecuteException >= 5) {
       logger.fine("Tried Function Execution 5 times. Now Returning after 5 attempts");
-      context.getResultSender().lastResult(new Integer(retryCountForExecuteFunctionReexecuteException));
+      context.getResultSender()
+          .lastResult(new Integer(retryCountForExecuteFunctionReexecuteException));
       retryCountForExecuteFunctionReexecuteException = 0;
       return;
     }


Mime
View raw message