Skip to content

Commit 2698e53

Browse files
committed
Tiny optimization
1 parent e343916 commit 2698e53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ protected AnnotatedConstructor constructDefaultConstructor(ClassUtil.Ctor ctor,
242242
}
243243
return new AnnotatedConstructor(_typeContext, ctor.getConstructor(),
244244
collectAnnotations(ctor, mixin),
245-
collectAnnotations(ctor.getConstructor().getParameterAnnotations(),
246-
(mixin == null) ? null : mixin.getConstructor().getParameterAnnotations()));
245+
// 16-Jun-2019, tatu: default is zero-args, so can't have parameter annotations
246+
NO_ANNOTATION_MAPS);
247247
}
248248

249249
protected AnnotatedConstructor constructNonDefaultConstructor(ClassUtil.Ctor ctor,

0 commit comments

Comments
 (0)