Merge pull request #15585 from igor-suhorukov

* pr/15585:
  Replace Collections sort with list sort() method
pull/15589/head
Stephane Nicoll 6 years ago
commit 2f7d9e503a

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