File tree 4 files changed +16
-3
lines changed
src/main/java/com/fasterxml/jackson/databind
4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -1493,4 +1493,8 @@ Jordi Ortolá Ankum (Tomasito665@github)
1493
1493
Arnaud Solé (Bluexin@github)
1494
1494
* Contributed #3505: Fix deduction deserializer with DefaultTypeResolverBuilder
1495
1495
(2.14.0)
1496
-
1496
+
1497
+ Richard Kwasnicki (Richie94@github)
1498
+ * Contributed #3609: Allow non-boolean return type for "is-getters" with
1499
+ `MapperFeature.ALLOW_IS_GETTERS_FOR_NON_BOOLEAN`
1500
+ (2.14.0)
Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ Project: jackson-databind
64
64
argument as `JsonPointer` if valid expression
65
65
#3590 : Add check in primitive value deserializers to avoid deep wrapper array
66
66
nesting wrt `UNWRAP_SINGLE_VALUE_ARRAYS`
67
+ #3609 : Allow non-boolean return type for " is-getters" with
68
+ `MapperFeature.ALLOW_IS_GETTERS_FOR_NON_BOOLEAN`
69
+ (contributed by Richard K)
67
70
68
71
2.13.4 (03 -Sep-2022 )
69
72
Original file line number Diff line number Diff line change @@ -487,9 +487,11 @@ public enum MapperFeature implements ConfigFeature
487
487
ALLOW_EXPLICIT_PROPERTY_RENAMING (false ),
488
488
489
489
/**
490
- * Feature that when enabled will allow getters with is-Prefix also for non-boolean return types.
490
+ * Feature that when enabled will allow getters with is-Prefix also for
491
+ * non-boolean return types; if disabled only methods that return
492
+ * {@code boolean} or {@code Boolean} qualify as "is getters".
491
493
* <p>
492
- * Feature is disabled by default.
494
+ * Feature is disabled by default for backwards compatibility .
493
495
*
494
496
* @since 2.14
495
497
*/
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ public interface BaseNameValidator {
44
44
protected final boolean _isGettersNonBoolean ;
45
45
46
46
protected final String _getterPrefix ;
47
+
48
+ /**
49
+ * @since 2.14
50
+ */
47
51
protected final String _isGetterPrefix ;
48
52
49
53
/**
You can’t perform that action at this time.
0 commit comments