Skip to content

Commit 9a2db4e

Browse files
committed
Remove unnecessary (for 3.x) @SInCE javadoc annotations
1 parent fdaa293 commit 9a2db4e

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/main/java/tools/jackson/databind/JsonNode.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,6 @@ public boolean isObject() {
222222
* @return Optional containing the node that represents the value of the specified element,
223223
* if this node is an array and has the specified element and otherwise, an
224224
* empty Optional, never null.
225-
*
226-
* @since 2.19
227225
*/
228226
public Optional<JsonNode> optional(int index) { return Optional.empty(); }
229227

@@ -242,8 +240,6 @@ public boolean isObject() {
242240
* @return Optional that may contain value of the specified field,
243241
* if this node is an object and has value for the specified
244242
* field. Empty Optional otherwise never null.
245-
*
246-
* @since 2.19
247243
*/
248244
public Optional<JsonNode> optional(String propertyName) { return Optional.empty(); }
249245

@@ -283,8 +279,6 @@ public Collection<String> propertyNames() {
283279
*
284280
* @return Node that matches given JSON Pointer: if no match exists,
285281
* will return a node for which {@link #isMissingNode()} returns true.
286-
*
287-
* @since 2.3
288282
*/
289283
@Override
290284
public final JsonNode at(JsonPointer ptr)
@@ -477,8 +471,6 @@ public final boolean isBinary() {
477471
* NOTE: this method does not consider possible value type conversion
478472
* from non-number types like JSON String into Number; so even if this method returns false,
479473
* it is possible that {@link #asInt} could still succeed.
480-
*
481-
* @since 2.0
482474
*/
483475
public boolean canConvertToInt() { return false; }
484476

@@ -1444,8 +1436,6 @@ public Set<Map.Entry<String, JsonNode>> properties() {
14441436
* this node is an {@code ArrayNode} or {@code ObjectNode}.
14451437
* In case of {@code Object} node, property names (keys) are not included, only values.
14461438
* For other types of nodes, returns empty stream.
1447-
*
1448-
* @since 2.19
14491439
*/
14501440
public Stream<JsonNode> valueStream() {
14511441
return ClassUtil.emptyStream();
@@ -1455,8 +1445,6 @@ public Stream<JsonNode> valueStream() {
14551445
* Returns a stream of all properties (key, value pairs) of this Node,
14561446
* iff this node is an an {@code ObjectNode}.
14571447
* For other types of nodes, returns empty stream.
1458-
*
1459-
* @since 2.19
14601448
*/
14611449
public Stream<Map.Entry<String, JsonNode>> propertyStream() {
14621450
return ClassUtil.emptyStream();
@@ -1732,8 +1720,6 @@ public ObjectNode withObject(JsonPointer ptr,
17321720
* @param propName Name of property that has or will have {@link ObjectNode} as value
17331721
*
17341722
* @return {@link ObjectNode} value of given property (existing or created)
1735-
*
1736-
* @since 2.16
17371723
*/
17381724
public ObjectNode withObjectProperty(String propName) {
17391725
// To avoid abstract method, base implementation just fails

0 commit comments

Comments
 (0)