geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject geode git commit: GEODE-3503: fixing the build by correcting the formatting
Date Fri, 25 Aug 2017 17:43:13 GMT
Repository: geode
Updated Branches:
  refs/heads/develop 4ea83c373 -> 92bf7fa21


GEODE-3503: fixing the build by correcting the formatting


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

Branch: refs/heads/develop
Commit: 92bf7fa2150b49b4d041e8ecf31009acc5070ad4
Parents: 4ea83c3
Author: Udo Kohlmeyer <ukohlmeyer@pivotal.io>
Authored: Fri Aug 25 10:43:10 2017 -0700
Committer: Udo Kohlmeyer <ukohlmeyer@pivotal.io>
Committed: Fri Aug 25 10:43:10 2017 -0700

----------------------------------------------------------------------
 .../serialization/codec/JSONCodecJUnitTest.java | 23 ++++++++++----------
 1 file changed, 11 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/92bf7fa2/geode-protobuf/src/test/java/org/apache/geode/serialization/codec/JSONCodecJUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-protobuf/src/test/java/org/apache/geode/serialization/codec/JSONCodecJUnitTest.java
b/geode-protobuf/src/test/java/org/apache/geode/serialization/codec/JSONCodecJUnitTest.java
index bb7169e..7174855 100644
--- a/geode-protobuf/src/test/java/org/apache/geode/serialization/codec/JSONCodecJUnitTest.java
+++ b/geode-protobuf/src/test/java/org/apache/geode/serialization/codec/JSONCodecJUnitTest.java
@@ -105,25 +105,24 @@ public class JSONCodecJUnitTest {
   }
 
   private void pdxInstanceEquals(PdxInstance expectedPdxInstance,
-                                 PdxInstance decodedJSONPdxInstance) {
+      PdxInstance decodedJSONPdxInstance) {
     List<String> expectedFieldNames = expectedPdxInstance.getFieldNames();
 
     assertEquals(expectedFieldNames, decodedJSONPdxInstance.getFieldNames());
 
-    expectedFieldNames.forEach(
-        fieldName -> {
-          assertEquals(expectedPdxInstance.getField(fieldName).getClass(),
-              decodedJSONPdxInstance.getField(fieldName).getClass());
-          assertEquals(pdxFieldValues(expectedPdxInstance, fieldName),
-              pdxFieldValues(decodedJSONPdxInstance, fieldName));
-        });
+    expectedFieldNames.forEach(fieldName -> {
+      assertEquals(expectedPdxInstance.getField(fieldName).getClass(),
+          decodedJSONPdxInstance.getField(fieldName).getClass());
+      assertEquals(pdxFieldValues(expectedPdxInstance, fieldName),
+          pdxFieldValues(decodedJSONPdxInstance, fieldName));
+    });
   }
 
   /**
-   * This method is very specific to this test. It will take a pdxInstance object and return
you
-   * the value for the fieldName. In most cases it will return the value directly, but in
the case
-   * of collections LinkedList&lt;String&gt; it will return an ArrayList&lt;String&gt;
or in the case of a
-   * LinkedList&lt;PdxInstance&gt; it will return an ArrayList&lt;ArrayList&lt;String&gt;&gt;.
+   * This method is very specific to this test. It will take a pdxInstance object and return
you the
+   * value for the fieldName. In most cases it will return the value directly, but in the
case of
+   * collections LinkedList&lt;String&gt; it will return an ArrayList&lt;String&gt;
or in the case
+   * of a LinkedList&lt;PdxInstance&gt; it will return an ArrayList&lt;ArrayList&lt;String&gt;&gt;.
    */
   private Object pdxFieldValues(PdxInstance pdxInstance, String fieldName) {
     Object fieldValue = pdxInstance.getField(fieldName);


Mime
View raw message