Skip to content

Commit

Permalink
[#2370]Sort the list the Java 7 way.
Browse files Browse the repository at this point in the history
  • Loading branch information
stellanl committed Nov 30, 2017
1 parent 496e07a commit c6500c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ public void run() {

private void sortDataOnCollectionDate(final List<InstanceData> allData) {
log.debug("Starting data sort");
allData.sort(new Comparator<InstanceData>() {
Collections.sort(allData, new Comparator<InstanceData>() {
@Override
public int compare(InstanceData o1, InstanceData o2) {
// by submission date
Expand Down

0 comments on commit c6500c3

Please sign in to comment.