Remove List.sort usage for Collections.sort

pull/931/merge
Christian Dupuis 11 years ago
parent 0cbd0b609a
commit b77a9c5a8e

@ -18,6 +18,7 @@ package org.springframework.boot.actuate.health;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
@ -61,7 +62,7 @@ public class OrderedHealthAggregator implements HealthAggregator {
return Status.UNKOWN;
}
status.sort(new Comparator<Status>() {
Collections.sort(status, new Comparator<Status>() {
@Override
public int compare(Status s1, Status s2) {

Loading…
Cancel
Save