- Reverted several Java 8 functions to their Java 7 counterparts for Android compatibility.

This commit is contained in:
Agetian
2017-07-25 03:12:04 +00:00
parent 8e9c76a9e8
commit f9e987e933
2 changed files with 4 additions and 4 deletions

View File

@@ -151,7 +151,7 @@ public class BoosterDraft implements IBoosterDraft {
if (myDrafts.isEmpty()) {
SOptionPane.showMessageDialog("No custom draft files found.");
} else {
myDrafts.sort(new Comparator<CustomLimited>() {
Collections.sort(myDrafts, new Comparator<CustomLimited>() {
@Override
public int compare(CustomLimited o1, CustomLimited o2) {
return o1.getName().compareTo(o2.getName());