Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-krecan committed Jun 26, 2024
1 parent 7fb0c27 commit 2b7d0b7
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
package net.javacrumbs.jsonunit.core.internal;

import org.jetbrains.annotations.NotNull;
import static net.javacrumbs.jsonunit.core.internal.JsonUtils.prettyPrint;

import java.math.BigDecimal;
import java.util.AbstractMap;
Expand All @@ -26,8 +26,7 @@
import java.util.Spliterators;
import java.util.stream.Collectors;
import java.util.stream.StreamSupport;

import static net.javacrumbs.jsonunit.core.internal.JsonUtils.prettyPrint;
import org.jetbrains.annotations.NotNull;

/**
* For internal use only!!! Abstract node representation.
Expand Down Expand Up @@ -232,8 +231,9 @@ class JsonMap extends AbstractMap<String, Object> implements NodeWrapper {
public Set<Entry<String, Object>> entrySet() {
Iterator<KeyValue> fields = wrappedNode.fields();
return StreamSupport.stream(Spliterators.spliteratorUnknownSize(fields, 0), false)
.map(keyValue -> new SimpleEntry<>(keyValue.getKey(), keyValue.getValue().getValue()))
.collect(Collectors.toSet());
.map(keyValue -> new SimpleEntry<>(
keyValue.getKey(), keyValue.getValue().getValue()))
.collect(Collectors.toSet());
}

@Override
Expand Down

0 comments on commit 2b7d0b7

Please sign in to comment.