Skip to content

Commit

Permalink
Remove unnecessary type decl
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed May 15, 2024
1 parent c6f24a1 commit 3161909
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public void addPropertyCreator(AnnotatedWithParams creator,
if (verifyNonDup(creator, C_PROPS, explicit)) {
// Better ensure we have no duplicate names either...
if (properties.length > 1) {
HashMap<String, Integer> names = new HashMap<String, Integer>();
HashMap<String, Integer> names = new HashMap<>();
for (int i = 0, len = properties.length; i < len; ++i) {
String name = properties[i].getName();
// Need to consider Injectables, which may not have
Expand Down

0 comments on commit 3161909

Please sign in to comment.