@@ -99,10 +99,10 @@ public DeserializationConfig(MapperBuilder<?,?> b, int mapperFeatures,
99
99
*/
100
100
101
101
private DeserializationConfig (DeserializationConfig src ,
102
- int mapperFeatures , int deserFeatures , int parserFeatures ,
102
+ int deserFeatures , int parserFeatures ,
103
103
int formatParserFeatures )
104
104
{
105
- super (src , mapperFeatures );
105
+ super (src );
106
106
_deserFeatures = deserFeatures ;
107
107
_parserFeatures = parserFeatures ;
108
108
_formatParserFeatures = formatParserFeatures ;
@@ -176,12 +176,6 @@ protected final DeserializationConfig _withBase(BaseSettings newBase) {
176
176
return (_base == newBase ) ? this : new DeserializationConfig (this , newBase );
177
177
}
178
178
179
- @ Override
180
- protected final DeserializationConfig _withMapperFeatures (int mapperFeatures ) {
181
- return new DeserializationConfig (this , mapperFeatures , _deserFeatures , _parserFeatures ,
182
- _formatParserFeatures );
183
- }
184
-
185
179
/*
186
180
/**********************************************************************
187
181
/* Life-cycle, specific factory methods from MapperConfig
@@ -224,7 +218,7 @@ public DeserializationConfig with(DeserializationFeature feature)
224
218
{
225
219
int newDeserFeatures = (_deserFeatures | feature .getMask ());
226
220
return (newDeserFeatures == _deserFeatures ) ? this :
227
- new DeserializationConfig (this , _mapperFeatures , newDeserFeatures , _parserFeatures ,
221
+ new DeserializationConfig (this , newDeserFeatures , _parserFeatures ,
228
222
_formatParserFeatures );
229
223
}
230
224
@@ -240,7 +234,7 @@ public DeserializationConfig with(DeserializationFeature first,
240
234
newDeserFeatures |= f .getMask ();
241
235
}
242
236
return (newDeserFeatures == _deserFeatures ) ? this :
243
- new DeserializationConfig (this , _mapperFeatures , newDeserFeatures , _parserFeatures ,
237
+ new DeserializationConfig (this , newDeserFeatures , _parserFeatures ,
244
238
_formatParserFeatures );
245
239
}
246
240
@@ -255,7 +249,7 @@ public DeserializationConfig withFeatures(DeserializationFeature... features)
255
249
newDeserFeatures |= f .getMask ();
256
250
}
257
251
return (newDeserFeatures == _deserFeatures ) ? this :
258
- new DeserializationConfig (this , _mapperFeatures , newDeserFeatures ,
252
+ new DeserializationConfig (this , newDeserFeatures ,
259
253
_parserFeatures , _formatParserFeatures );
260
254
}
261
255
@@ -267,7 +261,7 @@ public DeserializationConfig without(DeserializationFeature feature)
267
261
{
268
262
int newDeserFeatures = _deserFeatures & ~feature .getMask ();
269
263
return (newDeserFeatures == _deserFeatures ) ? this :
270
- new DeserializationConfig (this , _mapperFeatures , newDeserFeatures ,
264
+ new DeserializationConfig (this , newDeserFeatures ,
271
265
_parserFeatures , _formatParserFeatures );
272
266
}
273
267
@@ -283,7 +277,7 @@ public DeserializationConfig without(DeserializationFeature first,
283
277
newDeserFeatures &= ~f .getMask ();
284
278
}
285
279
return (newDeserFeatures == _deserFeatures ) ? this :
286
- new DeserializationConfig (this , _mapperFeatures , newDeserFeatures , _parserFeatures ,
280
+ new DeserializationConfig (this , newDeserFeatures , _parserFeatures ,
287
281
_formatParserFeatures );
288
282
}
289
283
@@ -298,7 +292,7 @@ public DeserializationConfig withoutFeatures(DeserializationFeature... features)
298
292
newDeserFeatures &= ~f .getMask ();
299
293
}
300
294
return (newDeserFeatures == _deserFeatures ) ? this :
301
- new DeserializationConfig (this , _mapperFeatures ,
295
+ new DeserializationConfig (this ,
302
296
newDeserFeatures , _parserFeatures , _formatParserFeatures );
303
297
}
304
298
@@ -316,7 +310,7 @@ public DeserializationConfig with(JsonParser.Feature feature)
316
310
{
317
311
int newSet = _parserFeatures | feature .getMask ();
318
312
return (_parserFeatures == newSet )? this :
319
- new DeserializationConfig (this , _mapperFeatures ,
313
+ new DeserializationConfig (this ,
320
314
_deserFeatures , newSet , _formatParserFeatures );
321
315
}
322
316
@@ -331,7 +325,7 @@ public DeserializationConfig withFeatures(JsonParser.Feature... features)
331
325
newSet |= f .getMask ();
332
326
}
333
327
return (_parserFeatures == newSet ) ? this :
334
- new DeserializationConfig (this , _mapperFeatures , _deserFeatures , newSet ,
328
+ new DeserializationConfig (this , _deserFeatures , newSet ,
335
329
_formatParserFeatures );
336
330
}
337
331
@@ -343,7 +337,7 @@ public DeserializationConfig without(JsonParser.Feature feature)
343
337
{
344
338
int newSet = _parserFeatures & ~feature .getMask ();
345
339
return (_parserFeatures == newSet ) ? this :
346
- new DeserializationConfig (this , _mapperFeatures , _deserFeatures , newSet ,
340
+ new DeserializationConfig (this , _deserFeatures , newSet ,
347
341
_formatParserFeatures );
348
342
}
349
343
@@ -358,8 +352,7 @@ public DeserializationConfig withoutFeatures(JsonParser.Feature... features)
358
352
newSet &= ~f .getMask ();
359
353
}
360
354
return (_parserFeatures == newSet )? this :
361
- new DeserializationConfig (this , _mapperFeatures ,
362
- _deserFeatures , newSet , _formatParserFeatures );
355
+ new DeserializationConfig (this , _deserFeatures , newSet , _formatParserFeatures );
363
356
}
364
357
365
358
/*
@@ -376,7 +369,7 @@ public DeserializationConfig with(FormatFeature feature)
376
369
{
377
370
int newSet = _formatParserFeatures | feature .getMask ();
378
371
return (_formatParserFeatures == newSet ) ? this
379
- : new DeserializationConfig (this , _mapperFeatures ,
372
+ : new DeserializationConfig (this ,
380
373
_deserFeatures , _parserFeatures , newSet );
381
374
}
382
375
@@ -391,7 +384,7 @@ public DeserializationConfig withFeatures(FormatFeature... features)
391
384
newSet |= f .getMask ();
392
385
}
393
386
return (_formatParserFeatures == newSet ) ? this
394
- : new DeserializationConfig (this , _mapperFeatures ,
387
+ : new DeserializationConfig (this ,
395
388
_deserFeatures , _parserFeatures , newSet );
396
389
}
397
390
@@ -403,7 +396,7 @@ public DeserializationConfig without(FormatFeature feature)
403
396
{
404
397
int newSet = _formatParserFeatures & ~feature .getMask ();
405
398
return (_formatParserFeatures == newSet ) ? this
406
- : new DeserializationConfig (this , _mapperFeatures ,
399
+ : new DeserializationConfig (this ,
407
400
_deserFeatures , _parserFeatures , newSet );
408
401
}
409
402
@@ -418,9 +411,9 @@ public DeserializationConfig withoutFeatures(FormatFeature... features)
418
411
newSet &= ~f .getMask ();
419
412
}
420
413
return (_formatParserFeatures == newSet ) ? this
421
- : new DeserializationConfig (this , _mapperFeatures ,
414
+ : new DeserializationConfig (this ,
422
415
_deserFeatures , _parserFeatures , newSet );
423
- }
416
+ }
424
417
425
418
/*
426
419
/**********************************************************************
0 commit comments