Skip to content

Commit cf27b18

Browse files
committed
Change calls to deprecated methods to undeprecated ones
1 parent 20cce3a commit cf27b18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/fasterxml/jackson/databind/deser/impl/BeanPropertyMap.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ public BeanPropertyMap renameAll(NameTransformer transformer)
350350
}
351351
// should we try to re-index? Ordering probably changed but caller probably doesn't want changes...
352352
// 26-Feb-2017, tatu: Probably SHOULD handle renaming wrt Aliases?
353-
return new BeanPropertyMap(_caseInsensitive, newProps, _aliasDefs);
353+
return new BeanPropertyMap(_caseInsensitive, newProps, _aliasDefs, _locale);
354354
}
355355

356356
/*
@@ -386,7 +386,7 @@ public BeanPropertyMap withoutProperties(Collection<String> toExclude)
386386
}
387387
}
388388
// should we try to re-index? Apparently no need
389-
return new BeanPropertyMap(_caseInsensitive, newProps, _aliasDefs);
389+
return new BeanPropertyMap(_caseInsensitive, newProps, _aliasDefs, _locale);
390390
}
391391

392392
@Deprecated // in 2.9.4 -- must call method that takes old and new property to avoid mismatch

0 commit comments

Comments
 (0)