@@ -334,7 +334,7 @@ public void serializeWithType(JsonGenerator g, SerializerProvider provider,
334
334
335
335
/*
336
336
/**********************************************************
337
- /* Extended ObjectNode API, mutators, since 2.1
337
+ /* Extended ObjectNode API, mutators
338
338
/**********************************************************
339
339
*/
340
340
@@ -348,10 +348,8 @@ public void serializeWithType(JsonGenerator g, SerializerProvider provider,
348
348
* {@link #remove} instead)
349
349
*
350
350
* @return This node after adding/replacing property value (to allow chaining)
351
- *
352
- * @since 2.1
353
351
*/
354
- public JsonNode set (String fieldName , JsonNode value )
352
+ public ObjectNode set (String fieldName , JsonNode value )
355
353
{
356
354
if (value == null ) {
357
355
value = nullNode ();
@@ -367,10 +365,8 @@ public JsonNode set(String fieldName, JsonNode value)
367
365
* @param properties Properties to add
368
366
*
369
367
* @return This node after adding/replacing property values (to allow chaining)
370
- *
371
- * @since 2.1
372
368
*/
373
- public JsonNode setAll (Map <String ,? extends JsonNode > properties )
369
+ public ObjectNode setAll (Map <String ,? extends JsonNode > properties )
374
370
{
375
371
for (Map .Entry <String ,? extends JsonNode > en : properties .entrySet ()) {
376
372
JsonNode n = en .getValue ();
@@ -389,10 +385,8 @@ public JsonNode setAll(Map<String,? extends JsonNode> properties)
389
385
* @param other Object of which properties to add to this object
390
386
*
391
387
* @return This node after addition (to allow chaining)
392
- *
393
- * @since 2.1
394
388
*/
395
- public JsonNode setAll (ObjectNode other )
389
+ public ObjectNode setAll (ObjectNode other )
396
390
{
397
391
_children .putAll (other ._children );
398
392
return this ;
@@ -407,8 +401,6 @@ public JsonNode setAll(ObjectNode other)
407
401
*
408
402
* @return Old value of the property; null if there was no such property
409
403
* with value
410
- *
411
- * @since 2.1
412
404
*/
413
405
public JsonNode replace (String fieldName , JsonNode value )
414
406
{
@@ -423,10 +415,8 @@ public JsonNode replace(String fieldName, JsonNode value)
423
415
* returning instance after removal.
424
416
*
425
417
* @return This node after removing entry (if any)
426
- *
427
- * @since 2.1
428
418
*/
429
- public JsonNode without (String fieldName )
419
+ public ObjectNode without (String fieldName )
430
420
{
431
421
_children .remove (fieldName );
432
422
return this ;
@@ -439,8 +429,6 @@ public JsonNode without(String fieldName)
439
429
* @param fieldNames Names of fields to remove
440
430
*
441
431
* @return This node after removing entries
442
- *
443
- * @since 2.1
444
432
*/
445
433
public ObjectNode without (Collection <String > fieldNames )
446
434
{
@@ -567,9 +555,6 @@ public ObjectNode putPOJO(String fieldName, Object pojo) {
567
555
return _put (fieldName , pojoNode (pojo ));
568
556
}
569
557
570
- /**
571
- * @since 2.6
572
- */
573
558
public ObjectNode putRawValue (String fieldName , RawValue raw ) {
574
559
return _put (fieldName , rawValueNode (raw ));
575
560
}
@@ -711,8 +696,6 @@ public ObjectNode put(String fieldName, BigDecimal v) {
711
696
* Method for setting value of a field to specified numeric value.
712
697
*
713
698
* @return This node (to allow chaining)
714
- *
715
- * @since 2.9
716
699
*/
717
700
public ObjectNode put (String fieldName , BigInteger v ) {
718
701
return _put (fieldName , (v == null ) ? nullNode ()
0 commit comments