We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 634b32b commit 6a63020Copy full SHA for 6a63020
inject/src/main/java/io/avaje/inject/spi/DBeanContext.java
@@ -106,10 +106,6 @@ public <T> List<T> sortByPriority(List<T> list) {
106
107
@Override
108
public <T> List<T> sortByPriority(List<T> list, final Class<? extends Annotation> priorityAnnotation) {
109
- if (priorityAnnotation == null) {
110
- // priority annotation not on the classpath
111
- return list;
112
- }
113
boolean priorityUsed = false;
114
List<SortBean<T>> tempList = new ArrayList<>(list.size());
115
for (T bean : list) {
0 commit comments