We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e14f2c commit 98abe64Copy full SHA for 98abe64
src/main/java/com/fasterxml/jackson/databind/AnnotationIntrospector.java
@@ -231,16 +231,16 @@ public PropertyName findRootName(AnnotatedClass ac) {
231
* false if for deserialization
232
*/
233
public String[] findPropertiesToIgnore(Annotated ac, boolean forSerialization) {
234
- // !!! Change direction in 2.7 or later
235
- return findPropertiesToIgnore(ac);
+ return null;
236
}
237
238
/**
239
* @deprecated Since 2.6, use variant that takes second argument.
240
241
@Deprecated
242
public String[] findPropertiesToIgnore(Annotated ac) {
243
- return null;
+ // Changed in 2.7 to call from old to new; with 2.6 was opposite
+ return findPropertiesToIgnore(ac, true);
244
245
246
0 commit comments