Replace Collections sort with list sort() method

Closes gh-15585
This commit is contained in:
igor-suhorukov
2018-12-29 23:52:48 +03:00
committed by Stephane Nicoll
parent 13ea6f3df9
commit 3eb2f5e476

View File

@@ -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;
}