|
|
@ -1304,8 +1304,7 @@ public class SpringApplication {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private static <E> Set<E> asUnmodifiableOrderedSet(Collection<E> elements) {
|
|
|
|
private static <E> Set<E> asUnmodifiableOrderedSet(Collection<E> elements) {
|
|
|
|
List<E> list = new ArrayList<>();
|
|
|
|
List<E> list = new ArrayList<>(elements);
|
|
|
|
list.addAll(elements);
|
|
|
|
|
|
|
|
list.sort(AnnotationAwareOrderComparator.INSTANCE);
|
|
|
|
list.sort(AnnotationAwareOrderComparator.INSTANCE);
|
|
|
|
return new LinkedHashSet<>(list);
|
|
|
|
return new LinkedHashSet<>(list);
|
|
|
|
}
|
|
|
|
}
|
|
|
|