Skip to content

Commit

Permalink
Trivial refactoring: remove redundant type argument
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellansun committed Jan 4, 2025
1 parent 3ee80f0 commit 0c30ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/groovy/lang/MetaClassImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public List<MetaMethod> respondsTo(final Object obj, final String name) {
if (o instanceof FastArray) {
return ((FastArray) o).toList();
}
return Collections.<MetaMethod>singletonList((MetaMethod) o);
return Collections.singletonList((MetaMethod) o);
}

/**
Expand Down

0 comments on commit 0c30ecd

Please sign in to comment.