@@ -99,10 +99,10 @@ public DeserializationConfig(MapperBuilder<?,?> b, int mapperFeatures,
9999 */
100100
101101 private DeserializationConfig (DeserializationConfig src ,
102- int mapperFeatures , int deserFeatures , int parserFeatures ,
102+ int deserFeatures , int parserFeatures ,
103103 int formatParserFeatures )
104104 {
105- super (src , mapperFeatures );
105+ super (src );
106106 _deserFeatures = deserFeatures ;
107107 _parserFeatures = parserFeatures ;
108108 _formatParserFeatures = formatParserFeatures ;
@@ -176,12 +176,6 @@ protected final DeserializationConfig _withBase(BaseSettings newBase) {
176176 return (_base == newBase ) ? this : new DeserializationConfig (this , newBase );
177177 }
178178
179- @ Override
180- protected final DeserializationConfig _withMapperFeatures (int mapperFeatures ) {
181- return new DeserializationConfig (this , mapperFeatures , _deserFeatures , _parserFeatures ,
182- _formatParserFeatures );
183- }
184-
185179 /*
186180 /**********************************************************************
187181 /* Life-cycle, specific factory methods from MapperConfig
@@ -224,7 +218,7 @@ public DeserializationConfig with(DeserializationFeature feature)
224218 {
225219 int newDeserFeatures = (_deserFeatures | feature .getMask ());
226220 return (newDeserFeatures == _deserFeatures ) ? this :
227- new DeserializationConfig (this , _mapperFeatures , newDeserFeatures , _parserFeatures ,
221+ new DeserializationConfig (this , newDeserFeatures , _parserFeatures ,
228222 _formatParserFeatures );
229223 }
230224
@@ -240,7 +234,7 @@ public DeserializationConfig with(DeserializationFeature first,
240234 newDeserFeatures |= f .getMask ();
241235 }
242236 return (newDeserFeatures == _deserFeatures ) ? this :
243- new DeserializationConfig (this , _mapperFeatures , newDeserFeatures , _parserFeatures ,
237+ new DeserializationConfig (this , newDeserFeatures , _parserFeatures ,
244238 _formatParserFeatures );
245239 }
246240
@@ -255,7 +249,7 @@ public DeserializationConfig withFeatures(DeserializationFeature... features)
255249 newDeserFeatures |= f .getMask ();
256250 }
257251 return (newDeserFeatures == _deserFeatures ) ? this :
258- new DeserializationConfig (this , _mapperFeatures , newDeserFeatures ,
252+ new DeserializationConfig (this , newDeserFeatures ,
259253 _parserFeatures , _formatParserFeatures );
260254 }
261255
@@ -267,7 +261,7 @@ public DeserializationConfig without(DeserializationFeature feature)
267261 {
268262 int newDeserFeatures = _deserFeatures & ~feature .getMask ();
269263 return (newDeserFeatures == _deserFeatures ) ? this :
270- new DeserializationConfig (this , _mapperFeatures , newDeserFeatures ,
264+ new DeserializationConfig (this , newDeserFeatures ,
271265 _parserFeatures , _formatParserFeatures );
272266 }
273267
@@ -283,7 +277,7 @@ public DeserializationConfig without(DeserializationFeature first,
283277 newDeserFeatures &= ~f .getMask ();
284278 }
285279 return (newDeserFeatures == _deserFeatures ) ? this :
286- new DeserializationConfig (this , _mapperFeatures , newDeserFeatures , _parserFeatures ,
280+ new DeserializationConfig (this , newDeserFeatures , _parserFeatures ,
287281 _formatParserFeatures );
288282 }
289283
@@ -298,7 +292,7 @@ public DeserializationConfig withoutFeatures(DeserializationFeature... features)
298292 newDeserFeatures &= ~f .getMask ();
299293 }
300294 return (newDeserFeatures == _deserFeatures ) ? this :
301- new DeserializationConfig (this , _mapperFeatures ,
295+ new DeserializationConfig (this ,
302296 newDeserFeatures , _parserFeatures , _formatParserFeatures );
303297 }
304298
@@ -316,7 +310,7 @@ public DeserializationConfig with(JsonParser.Feature feature)
316310 {
317311 int newSet = _parserFeatures | feature .getMask ();
318312 return (_parserFeatures == newSet )? this :
319- new DeserializationConfig (this , _mapperFeatures ,
313+ new DeserializationConfig (this ,
320314 _deserFeatures , newSet , _formatParserFeatures );
321315 }
322316
@@ -331,7 +325,7 @@ public DeserializationConfig withFeatures(JsonParser.Feature... features)
331325 newSet |= f .getMask ();
332326 }
333327 return (_parserFeatures == newSet ) ? this :
334- new DeserializationConfig (this , _mapperFeatures , _deserFeatures , newSet ,
328+ new DeserializationConfig (this , _deserFeatures , newSet ,
335329 _formatParserFeatures );
336330 }
337331
@@ -343,7 +337,7 @@ public DeserializationConfig without(JsonParser.Feature feature)
343337 {
344338 int newSet = _parserFeatures & ~feature .getMask ();
345339 return (_parserFeatures == newSet ) ? this :
346- new DeserializationConfig (this , _mapperFeatures , _deserFeatures , newSet ,
340+ new DeserializationConfig (this , _deserFeatures , newSet ,
347341 _formatParserFeatures );
348342 }
349343
@@ -358,8 +352,7 @@ public DeserializationConfig withoutFeatures(JsonParser.Feature... features)
358352 newSet &= ~f .getMask ();
359353 }
360354 return (_parserFeatures == newSet )? this :
361- new DeserializationConfig (this , _mapperFeatures ,
362- _deserFeatures , newSet , _formatParserFeatures );
355+ new DeserializationConfig (this , _deserFeatures , newSet , _formatParserFeatures );
363356 }
364357
365358 /*
@@ -376,7 +369,7 @@ public DeserializationConfig with(FormatFeature feature)
376369 {
377370 int newSet = _formatParserFeatures | feature .getMask ();
378371 return (_formatParserFeatures == newSet ) ? this
379- : new DeserializationConfig (this , _mapperFeatures ,
372+ : new DeserializationConfig (this ,
380373 _deserFeatures , _parserFeatures , newSet );
381374 }
382375
@@ -391,7 +384,7 @@ public DeserializationConfig withFeatures(FormatFeature... features)
391384 newSet |= f .getMask ();
392385 }
393386 return (_formatParserFeatures == newSet ) ? this
394- : new DeserializationConfig (this , _mapperFeatures ,
387+ : new DeserializationConfig (this ,
395388 _deserFeatures , _parserFeatures , newSet );
396389 }
397390
@@ -403,7 +396,7 @@ public DeserializationConfig without(FormatFeature feature)
403396 {
404397 int newSet = _formatParserFeatures & ~feature .getMask ();
405398 return (_formatParserFeatures == newSet ) ? this
406- : new DeserializationConfig (this , _mapperFeatures ,
399+ : new DeserializationConfig (this ,
407400 _deserFeatures , _parserFeatures , newSet );
408401 }
409402
@@ -418,9 +411,9 @@ public DeserializationConfig withoutFeatures(FormatFeature... features)
418411 newSet &= ~f .getMask ();
419412 }
420413 return (_formatParserFeatures == newSet ) ? this
421- : new DeserializationConfig (this , _mapperFeatures ,
414+ : new DeserializationConfig (this ,
422415 _deserFeatures , _parserFeatures , newSet );
423- }
416+ }
424417
425418 /*
426419 /**********************************************************************
0 commit comments