Commit 9b91c181 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '2.5.x'

See gh-27073
parents 6686a49b e2d68aa8
......@@ -114,7 +114,7 @@ public class Instantiator<T> {
return instantiate(types.stream().map((type) -> TypeSupplier.forType(type)));
}
public List<T> instantiate(Stream<TypeSupplier> typeSuppliers) {
private List<T> instantiate(Stream<TypeSupplier> typeSuppliers) {
List<T> instances = typeSuppliers.map(this::instantiate).collect(Collectors.toList());
AnnotationAwareOrderComparator.sort(instances);
return Collections.unmodifiableList(instances);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment