Commit 3eb2f5e4 authored by igor-suhorukov's avatar igor-suhorukov Committed by Stephane Nicoll

Replace Collections sort with list sort() method

Closes gh-15585
parent 13ea6f3d
...@@ -285,7 +285,7 @@ public class AutoConfigureAnnotationProcessor extends AbstractProcessor { ...@@ -285,7 +285,7 @@ public class AutoConfigureAnnotationProcessor extends AbstractProcessor {
@Override @Override
public List<Object> getValues(AnnotationMirror annotation) { public List<Object> getValues(AnnotationMirror annotation) {
List<Object> values = super.getValues(annotation); List<Object> values = super.getValues(annotation);
Collections.sort(values, this::compare); values.sort(this::compare);
return values; return values;
} }
......
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