All parameters on one line (for now)
Easier picking of 1.7 changes
This commit is contained in:
@@ -34,8 +34,7 @@ public class ItemSorters
|
||||
|
||||
private static SortDir Direction = SortDir.ASCENDING;
|
||||
|
||||
public static final Comparator<IAEItemStack> CONFIG_BASED_SORT_BY_NAME = new Comparator<IAEItemStack>()
|
||||
{
|
||||
public static final Comparator<IAEItemStack> CONFIG_BASED_SORT_BY_NAME = new Comparator<IAEItemStack>(){
|
||||
|
||||
@Override
|
||||
public int compare( final IAEItemStack o1, final IAEItemStack o2 )
|
||||
@@ -47,8 +46,7 @@ public class ItemSorters
|
||||
return Platform.getItemDisplayName( o2 ).compareToIgnoreCase( Platform.getItemDisplayName( o1 ) );
|
||||
}
|
||||
};
|
||||
public static final Comparator<IAEItemStack> CONFIG_BASED_SORT_BY_MOD = new Comparator<IAEItemStack>()
|
||||
{
|
||||
public static final Comparator<IAEItemStack> CONFIG_BASED_SORT_BY_MOD = new Comparator<IAEItemStack>(){
|
||||
|
||||
@Override
|
||||
public int compare( final IAEItemStack o1, final IAEItemStack o2 )
|
||||
@@ -73,8 +71,7 @@ public class ItemSorters
|
||||
return compareToIgnoreCase;
|
||||
}
|
||||
};
|
||||
public static final Comparator<IAEItemStack> CONFIG_BASED_SORT_BY_SIZE = new Comparator<IAEItemStack>()
|
||||
{
|
||||
public static final Comparator<IAEItemStack> CONFIG_BASED_SORT_BY_SIZE = new Comparator<IAEItemStack>(){
|
||||
|
||||
@Override
|
||||
public int compare( final IAEItemStack o1, final IAEItemStack o2 )
|
||||
@@ -87,8 +84,7 @@ public class ItemSorters
|
||||
}
|
||||
};
|
||||
private static IInvTweaks api;
|
||||
public static final Comparator<IAEItemStack> CONFIG_BASED_SORT_BY_INV_TWEAKS = new Comparator<IAEItemStack>()
|
||||
{
|
||||
public static final Comparator<IAEItemStack> CONFIG_BASED_SORT_BY_INV_TWEAKS = new Comparator<IAEItemStack>(){
|
||||
|
||||
@Override
|
||||
public int compare( final IAEItemStack o1, final IAEItemStack o2 )
|
||||
|
||||
Reference in New Issue
Block a user