@@ -222,8 +222,6 @@ public boolean isObject() {
222
222
* @return Optional containing the node that represents the value of the specified element,
223
223
* if this node is an array and has the specified element and otherwise, an
224
224
* empty Optional, never null.
225
- *
226
- * @since 2.19
227
225
*/
228
226
public Optional <JsonNode > optional (int index ) { return Optional .empty (); }
229
227
@@ -242,8 +240,6 @@ public boolean isObject() {
242
240
* @return Optional that may contain value of the specified field,
243
241
* if this node is an object and has value for the specified
244
242
* field. Empty Optional otherwise never null.
245
- *
246
- * @since 2.19
247
243
*/
248
244
public Optional <JsonNode > optional (String propertyName ) { return Optional .empty (); }
249
245
@@ -283,8 +279,6 @@ public Collection<String> propertyNames() {
283
279
*
284
280
* @return Node that matches given JSON Pointer: if no match exists,
285
281
* will return a node for which {@link #isMissingNode()} returns true.
286
- *
287
- * @since 2.3
288
282
*/
289
283
@ Override
290
284
public final JsonNode at (JsonPointer ptr )
@@ -477,8 +471,6 @@ public final boolean isBinary() {
477
471
* NOTE: this method does not consider possible value type conversion
478
472
* from non-number types like JSON String into Number; so even if this method returns false,
479
473
* it is possible that {@link #asInt} could still succeed.
480
- *
481
- * @since 2.0
482
474
*/
483
475
public boolean canConvertToInt () { return false ; }
484
476
@@ -1444,8 +1436,6 @@ public Set<Map.Entry<String, JsonNode>> properties() {
1444
1436
* this node is an {@code ArrayNode} or {@code ObjectNode}.
1445
1437
* In case of {@code Object} node, property names (keys) are not included, only values.
1446
1438
* For other types of nodes, returns empty stream.
1447
- *
1448
- * @since 2.19
1449
1439
*/
1450
1440
public Stream <JsonNode > valueStream () {
1451
1441
return ClassUtil .emptyStream ();
@@ -1455,8 +1445,6 @@ public Stream<JsonNode> valueStream() {
1455
1445
* Returns a stream of all properties (key, value pairs) of this Node,
1456
1446
* iff this node is an an {@code ObjectNode}.
1457
1447
* For other types of nodes, returns empty stream.
1458
- *
1459
- * @since 2.19
1460
1448
*/
1461
1449
public Stream <Map .Entry <String , JsonNode >> propertyStream () {
1462
1450
return ClassUtil .emptyStream ();
@@ -1732,8 +1720,6 @@ public ObjectNode withObject(JsonPointer ptr,
1732
1720
* @param propName Name of property that has or will have {@link ObjectNode} as value
1733
1721
*
1734
1722
* @return {@link ObjectNode} value of given property (existing or created)
1735
- *
1736
- * @since 2.16
1737
1723
*/
1738
1724
public ObjectNode withObjectProperty (String propName ) {
1739
1725
// To avoid abstract method, base implementation just fails
0 commit comments