|
|
@ -61,7 +61,7 @@ class AutoConfigurationSorter {
|
|
|
|
orderedClassNames.sort((o1, o2) -> {
|
|
|
|
orderedClassNames.sort((o1, o2) -> {
|
|
|
|
int i1 = classes.get(o1).getOrder();
|
|
|
|
int i1 = classes.get(o1).getOrder();
|
|
|
|
int i2 = classes.get(o2).getOrder();
|
|
|
|
int i2 = classes.get(o2).getOrder();
|
|
|
|
return (i1 < i2) ? -1 : (i1 > i2) ? 1 : 0;
|
|
|
|
return Integer.compare(i1, i2);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
// Then respect @AutoConfigureBefore @AutoConfigureAfter
|
|
|
|
// Then respect @AutoConfigureBefore @AutoConfigureAfter
|
|
|
|
orderedClassNames = sortByAnnotation(classes, orderedClassNames);
|
|
|
|
orderedClassNames = sortByAnnotation(classes, orderedClassNames);
|
|
|
|