Skip to content

Commit

Permalink
Fix a unit test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 28, 2024
1 parent b7a08c2 commit 7e430ba
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
import com.fasterxml.jackson.databind.node.JsonNodeType;
import com.fasterxml.jackson.databind.node.ObjectNode;

import tools.jackson.databind.JsonNode;

import static org.junit.jupiter.api.Assertions.*;

import static com.fasterxml.jackson.databind.testutil.DatabindTestUtil.*;
Expand Down Expand Up @@ -608,7 +610,7 @@ static class CustomObjectNode extends BaseJsonNode
private final ObjectNode _delegate;

CustomObjectNode(ObjectNode delegate) {
this._delegate = delegate;
_delegate = delegate;
}

@Override
Expand All @@ -622,8 +624,8 @@ public int size() {
}

@Override
public Iterator<Entry<String, JsonNode>> fields() {
return _delegate.fields();
public Set<Map.Entry<String, JsonNode>> properties() {
return _delegate.properties();
}

@Override
Expand Down

0 comments on commit 7e430ba

Please sign in to comment.