Skip to content

Commit 3fcd03c

Browse files
committed
Merge branch '2.19'
2 parents efdb577 + 6729641 commit 3fcd03c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

release-notes/VERSION-2.x

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Project: jackson-databind
4040
`forEachEntry()`
4141
#4867: Add `Optional<JsonNode> JsonNode.asOptional()` convenience method
4242
(fix by Joo-Hyuk K)
43+
#4869: Add `JsonNode.values()` to replace `elements()`
4344

4445
2.18.3 (not yet released)
4546

src/main/java/tools/jackson/databind/node/ArrayNode.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,6 @@ public JsonNode get(int index) {
228228
@Override
229229
public JsonNode get(String fieldName) { return null; }
230230

231-
/**
232-
* @since 2.19
233-
*/
234231
@Override
235232
public Optional<JsonNode> optional(int index) {
236233
return Optional.ofNullable(get(index));
@@ -273,7 +270,7 @@ public Spliterator<JsonNode> valueSpliterator() {
273270
return _children.spliterator();
274271
}
275272

276-
@Override // @since 2.19
273+
@Override
277274
public Stream<JsonNode> valueStream() {
278275
return _children.stream();
279276
}

0 commit comments

Comments
 (0)