@@ -86,6 +86,7 @@ public static class BooleanArraySerializer
86
86
extends ArraySerializerBase <boolean []>
87
87
{
88
88
// as above, assuming no one re-defines primitive/wrapper types
89
+ @ SuppressWarnings ("deprecation" )
89
90
private final static JavaType VALUE_TYPE = TypeFactory .defaultInstance ().uncheckedSimpleType (Boolean .class );
90
91
91
92
public BooleanArraySerializer () { super (boolean [].class ); }
@@ -176,6 +177,7 @@ public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType t
176
177
public static class ShortArraySerializer extends TypedPrimitiveArraySerializer <short []>
177
178
{
178
179
// as above, assuming no one re-defines primitive/wrapper types
180
+ @ SuppressWarnings ("deprecation" )
179
181
private final static JavaType VALUE_TYPE = TypeFactory .defaultInstance ().uncheckedSimpleType (Short .TYPE );
180
182
181
183
public ShortArraySerializer () { super (short [].class ); }
@@ -343,6 +345,7 @@ public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType t
343
345
public static class IntArraySerializer extends ArraySerializerBase <int []>
344
346
{
345
347
// as above, assuming no one re-defines primitive/wrapper types
348
+ @ SuppressWarnings ("deprecation" )
346
349
private final static JavaType VALUE_TYPE = TypeFactory .defaultInstance ().uncheckedSimpleType (Integer .TYPE );
347
350
348
351
public IntArraySerializer () { super (int [].class ); }
@@ -432,6 +435,7 @@ public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType t
432
435
public static class LongArraySerializer extends TypedPrimitiveArraySerializer <long []>
433
436
{
434
437
// as above, assuming no one re-defines primitive/wrapper types
438
+ @ SuppressWarnings ("deprecation" )
435
439
private final static JavaType VALUE_TYPE = TypeFactory .defaultInstance ().uncheckedSimpleType (Long .TYPE );
436
440
437
441
public LongArraySerializer () { super (long [].class ); }
@@ -525,6 +529,7 @@ public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType t
525
529
public static class FloatArraySerializer extends TypedPrimitiveArraySerializer <float []>
526
530
{
527
531
// as above, assuming no one re-defines primitive/wrapper types
532
+ @ SuppressWarnings ("deprecation" )
528
533
private final static JavaType VALUE_TYPE = TypeFactory .defaultInstance ().uncheckedSimpleType (Float .TYPE );
529
534
530
535
public FloatArraySerializer () {
@@ -616,6 +621,7 @@ public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType t
616
621
public static class DoubleArraySerializer extends ArraySerializerBase <double []>
617
622
{
618
623
// as above, assuming no one re-defines primitive/wrapper types
624
+ @ SuppressWarnings ("deprecation" )
619
625
private final static JavaType VALUE_TYPE = TypeFactory .defaultInstance ().uncheckedSimpleType (Double .TYPE );
620
626
621
627
public DoubleArraySerializer () { super (double [].class ); }
0 commit comments