Replace Collections sort with list sort() method

Closes gh-15585
pull/15589/head
igor-suhorukov 6 years ago committed by Stephane Nicoll
parent 13ea6f3df9
commit 3eb2f5e476

@ -285,7 +285,7 @@ public class AutoConfigureAnnotationProcessor extends AbstractProcessor {
@Override
public List<Object> getValues(AnnotationMirror annotation) {
List<Object> values = super.getValues(annotation);
Collections.sort(values, this::compare);
values.sort(this::compare);
return values;
}

Loading…
Cancel
Save