@@ -52,8 +52,7 @@ public static JsonDeserializer<?> forType(Class<?> rawType)
52
52
53
53
@ Override
54
54
public Object deserializeWithType (JsonParser jp , DeserializationContext ctxt ,
55
- TypeDeserializer typeDeserializer )
56
- throws IOException , JsonProcessingException
55
+ TypeDeserializer typeDeserializer ) throws IOException
57
56
{
58
57
/* Should there be separate handling for base64 stuff?
59
58
* for now this should be enough:
@@ -76,8 +75,7 @@ final static class CharDeser
76
75
public CharDeser () { super (char [].class ); }
77
76
78
77
@ Override
79
- public char [] deserialize (JsonParser jp , DeserializationContext ctxt )
80
- throws IOException , JsonProcessingException
78
+ public char [] deserialize (JsonParser jp , DeserializationContext ctxt ) throws IOException
81
79
{
82
80
/* Won't take arrays, must get a String (could also
83
81
* convert other tokens to Strings... but let's not bother
@@ -170,8 +168,7 @@ public boolean[] deserialize(JsonParser jp, DeserializationContext ctxt)
170
168
return builder .completeAndClearBuffer (chunk , ix );
171
169
}
172
170
173
- private final boolean [] handleNonArray (JsonParser jp , DeserializationContext ctxt )
174
- throws IOException , JsonProcessingException
171
+ private final boolean [] handleNonArray (JsonParser jp , DeserializationContext ctxt ) throws IOException
175
172
{
176
173
// [JACKSON-620] Empty String can become null...
177
174
if ((jp .getCurrentToken () == JsonToken .VALUE_STRING )
@@ -200,8 +197,7 @@ final static class ByteDeser
200
197
public ByteDeser () { super (byte [].class ); }
201
198
202
199
@ Override
203
- public byte [] deserialize (JsonParser jp , DeserializationContext ctxt )
204
- throws IOException , JsonProcessingException
200
+ public byte [] deserialize (JsonParser jp , DeserializationContext ctxt ) throws IOException
205
201
{
206
202
JsonToken t = jp .getCurrentToken ();
207
203
@@ -250,8 +246,7 @@ public byte[] deserialize(JsonParser jp, DeserializationContext ctxt)
250
246
return builder .completeAndClearBuffer (chunk , ix );
251
247
}
252
248
253
- private final byte [] handleNonArray (JsonParser jp , DeserializationContext ctxt )
254
- throws IOException , JsonProcessingException
249
+ private final byte [] handleNonArray (JsonParser jp , DeserializationContext ctxt ) throws IOException
255
250
{
256
251
// [JACKSON-620] Empty String can become null...
257
252
if ((jp .getCurrentToken () == JsonToken .VALUE_STRING )
@@ -288,8 +283,7 @@ final static class ShortDeser
288
283
public ShortDeser () { super (short [].class ); }
289
284
290
285
@ Override
291
- public short [] deserialize (JsonParser jp , DeserializationContext ctxt )
292
- throws IOException , JsonProcessingException
286
+ public short [] deserialize (JsonParser jp , DeserializationContext ctxt ) throws IOException
293
287
{
294
288
if (!jp .isExpectedStartArrayToken ()) {
295
289
return handleNonArray (jp , ctxt );
@@ -313,8 +307,7 @@ public short[] deserialize(JsonParser jp, DeserializationContext ctxt)
313
307
return builder .completeAndClearBuffer (chunk , ix );
314
308
}
315
309
316
- private final short [] handleNonArray (JsonParser jp , DeserializationContext ctxt )
317
- throws IOException , JsonProcessingException
310
+ private final short [] handleNonArray (JsonParser jp , DeserializationContext ctxt ) throws IOException
318
311
{
319
312
// [JACKSON-620] Empty String can become null...
320
313
if ((jp .getCurrentToken () == JsonToken .VALUE_STRING )
@@ -341,8 +334,7 @@ final static class IntDeser
341
334
public IntDeser () { super (int [].class ); }
342
335
343
336
@ Override
344
- public int [] deserialize (JsonParser jp , DeserializationContext ctxt )
345
- throws IOException , JsonProcessingException
337
+ public int [] deserialize (JsonParser jp , DeserializationContext ctxt ) throws IOException
346
338
{
347
339
if (!jp .isExpectedStartArrayToken ()) {
348
340
return handleNonArray (jp , ctxt );
@@ -367,8 +359,7 @@ public int[] deserialize(JsonParser jp, DeserializationContext ctxt)
367
359
return builder .completeAndClearBuffer (chunk , ix );
368
360
}
369
361
370
- private final int [] handleNonArray (JsonParser jp , DeserializationContext ctxt )
371
- throws IOException , JsonProcessingException
362
+ private final int [] handleNonArray (JsonParser jp , DeserializationContext ctxt ) throws IOException
372
363
{
373
364
// [JACKSON-620] Empty String can become null...
374
365
if ((jp .getCurrentToken () == JsonToken .VALUE_STRING )
@@ -395,8 +386,7 @@ final static class LongDeser
395
386
public LongDeser () { super (long [].class ); }
396
387
397
388
@ Override
398
- public long [] deserialize (JsonParser jp , DeserializationContext ctxt )
399
- throws IOException , JsonProcessingException
389
+ public long [] deserialize (JsonParser jp , DeserializationContext ctxt ) throws IOException
400
390
{
401
391
if (!jp .isExpectedStartArrayToken ()) {
402
392
return handleNonArray (jp , ctxt );
@@ -420,8 +410,7 @@ public long[] deserialize(JsonParser jp, DeserializationContext ctxt)
420
410
return builder .completeAndClearBuffer (chunk , ix );
421
411
}
422
412
423
- private final long [] handleNonArray (JsonParser jp , DeserializationContext ctxt )
424
- throws IOException , JsonProcessingException
413
+ private final long [] handleNonArray (JsonParser jp , DeserializationContext ctxt ) throws IOException
425
414
{
426
415
// [JACKSON-620] Empty String can become null...
427
416
if ((jp .getCurrentToken () == JsonToken .VALUE_STRING )
@@ -498,8 +487,7 @@ final static class DoubleDeser
498
487
public DoubleDeser () { super (double [].class ); }
499
488
500
489
@ Override
501
- public double [] deserialize (JsonParser jp , DeserializationContext ctxt )
502
- throws IOException , JsonProcessingException
490
+ public double [] deserialize (JsonParser jp , DeserializationContext ctxt ) throws IOException
503
491
{
504
492
if (!jp .isExpectedStartArrayToken ()) {
505
493
return handleNonArray (jp , ctxt );
@@ -523,8 +511,7 @@ public double[] deserialize(JsonParser jp, DeserializationContext ctxt)
523
511
return builder .completeAndClearBuffer (chunk , ix );
524
512
}
525
513
526
- private final double [] handleNonArray (JsonParser jp , DeserializationContext ctxt )
527
- throws IOException , JsonProcessingException
514
+ private final double [] handleNonArray (JsonParser jp , DeserializationContext ctxt ) throws IOException
528
515
{
529
516
// [JACKSON-620] Empty String can become null...
530
517
if ((jp .getCurrentToken () == JsonToken .VALUE_STRING )
0 commit comments