mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Reverted several Java 8 functions to their Java 7 counterparts for Android compatibility.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user