Skip to content

Commit

Permalink
Remove unnecessary type parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed May 16, 2024
1 parent 3161909 commit e230f61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ protected Map<AnnotatedWithParams,BeanPropertyDefinition[]> _findCreatorsFromPro

if (defs == null) {
if (result.isEmpty()) { // since emptyMap is immutable need to create a 'real' one
result = new LinkedHashMap<AnnotatedWithParams,BeanPropertyDefinition[]>();
result = new LinkedHashMap<>();
}
defs = new BeanPropertyDefinition[owner.getParameterCount()];
result.put(owner, defs);
Expand Down

0 comments on commit e230f61

Please sign in to comment.