rdblue commented on code in PR #4525:
URL: https://github.com/apache/iceberg/pull/4525#discussion_r863327646


##########
core/src/main/java/org/apache/iceberg/util/JsonUtil.java:
##########
@@ -115,6 +115,17 @@ public static String getStringOrNull(String property, 
JsonNode node) {
     return pNode.asText();
   }
 
+  public static JsonNode getChildNodeOrNull(String property, JsonNode node) {
+    if (!node.has(property)) {
+      return null;
+    }
+    JsonNode pNode = node.get(property);

Review Comment:
   Style: control flow blocks should be separated from the next statement by an 
empty newline.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to