Skip to content

Commit 5c78c35

Browse files
committed
...
1 parent 682eef5 commit 5c78c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ private void _removeNonFactoryStaticMethods(List<PotentialCreator> ctors,
797797
while (it.hasNext()) {
798798
// explicit mode? Retain (for now)
799799
PotentialCreator ctor = it.next();
800-
if (ctor.creatorMode() != JsonCreator.Mode.DEFAULT) {
800+
if (ctor.creatorMode() != null) {
801801
continue;
802802
}
803803
// Do not trim canonical either

0 commit comments

Comments
 (0)