Skip to content

Commit 364aab1

Browse files
committed
Update release notes for #4801
1 parent 6202398 commit 364aab1

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

release-notes/VERSION-2.x

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ Project: jackson-databind
4242
#4773: `SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS` should not apply to Maps
4343
with uncomparable keys
4444
(requested by @nathanukey)
45+
#4801: Add `JsonNodeFeature.USE_BIG_DECIMAL_FOR_FLOATS` to allow overriding
46+
`DeserializationFeature.USE_BIG_DECIMAL_FOR_FLOATS`
47+
(fix by Joo-Hyuk K)
4548
#4849 Not able to deserialize Enum with default typing after upgrading 2.15.4 -> 2.17.1
4649
(reported by Kornel Zemla)
4750
#4863: Add basic Stream support in `JsonNode`: `valueStream()`, `propertyStream()`,

src/main/java/com/fasterxml/jackson/databind/introspect/PotentialCreator.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class PotentialCreator
3535
* Parameter definitions if (and only if) this represents a
3636
* Property-based Creator.
3737
*/
38-
private List<BeanPropertyDefinition> propertyDefs;
38+
private List<BeanPropertyDefinition> _propertyDefs;
3939

4040
public PotentialCreator(AnnotatedWithParams cr,
4141
JsonCreator.Mode cm)
@@ -67,7 +67,7 @@ public PotentialCreator overrideMode(JsonCreator.Mode mode) {
6767

6868
@SuppressWarnings("unchecked")
6969
public void assignPropertyDefs(List<? extends BeanPropertyDefinition> propertyDefs) {
70-
this.propertyDefs = (List<BeanPropertyDefinition>) propertyDefs;
70+
_propertyDefs = (List<BeanPropertyDefinition>) propertyDefs;
7171
}
7272

7373
public PotentialCreator introspectParamNames(MapperConfig<?> config)
@@ -214,10 +214,10 @@ public String implicitNameSimple(int ix) {
214214
}
215215

216216
public BeanPropertyDefinition[] propertyDefs() {
217-
if (propertyDefs == null || propertyDefs.isEmpty()) {
217+
if (_propertyDefs == null || _propertyDefs.isEmpty()) {
218218
return new BeanPropertyDefinition[0];
219219
}
220-
return propertyDefs.toArray(new BeanPropertyDefinition[propertyDefs.size()]);
220+
return _propertyDefs.toArray(new BeanPropertyDefinition[_propertyDefs.size()]);
221221
}
222222

223223
/*

0 commit comments

Comments
 (0)