@@ -209,7 +209,7 @@ public static int getIntOrZero(final JsonNode json, final List<String> keys) {
209
209
public static Map <String , Object > flatten (final JsonNode node ) {
210
210
if (node .isObject ()) {
211
211
final Map <String , Object > output = new HashMap <>();
212
- for (final Iterator <Entry <String , JsonNode >> it = node .fields (); it .hasNext (); ) {
212
+ for (final Iterator <Entry <String , JsonNode >> it = node .fields (); it .hasNext ();) {
213
213
final Entry <String , JsonNode > entry = it .next ();
214
214
final String field = entry .getKey ();
215
215
final JsonNode value = entry .getValue ();
@@ -239,8 +239,8 @@ public static Map<String, Object> flatten(final JsonNode node) {
239
239
/**
240
240
* Prepend all keys in subMap with prefix, then merge that map into originalMap.
241
241
* <p>
242
- * If subMap contains a null key, then instead it is replaced with prefix. I.e. {null: value} is treated as {prefix: value} when merging into
243
- * originalMap.
242
+ * If subMap contains a null key, then instead it is replaced with prefix. I.e. {null: value} is
243
+ * treated as {prefix: value} when merging into originalMap.
244
244
*/
245
245
public static void mergeMaps (final Map <String , Object > originalMap , final String prefix , final Map <String , Object > subMap ) {
246
246
originalMap .putAll (subMap .entrySet ().stream ().collect (toMap (
@@ -256,7 +256,8 @@ public static void mergeMaps(final Map<String, Object> originalMap, final String
256
256
}
257
257
258
258
/**
259
- * By the Jackson DefaultPrettyPrinter prints objects with an extra space as follows: {"name" : "airbyte"}. We prefer {"name": "airbyte"}.
259
+ * By the Jackson DefaultPrettyPrinter prints objects with an extra space as follows: {"name" :
260
+ * "airbyte"}. We prefer {"name": "airbyte"}.
260
261
*/
261
262
private static class JsonPrettyPrinter extends DefaultPrettyPrinter {
262
263
0 commit comments