Skip to content

Commit

Permalink
Fix incompatible bounds #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Schätzl committed Oct 31, 2024
1 parent bddc37d commit 5ecccc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inject/src/main/java/io/avaje/inject/spi/DBeanScope.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public <T> List<T> list(Type type) {

@Override
public <T extends Comparable<T>> List<T> listComparable(Class<T> type) {
return <T>listOf(type).stream().sorted().collect(Collectors.toList());
return this.<T>listOf(type).stream().sorted().collect(Collectors.toList());
}

@SuppressWarnings("unchecked")
Expand Down

0 comments on commit 5ecccc6

Please sign in to comment.