mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-26 03:19:02 +00:00
Merge pull request #15585 from igor-suhorukov
* pr/15585: Replace Collections sort with list sort() method
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user