forked from External/mage
Merge branch 'master' into migrate-google-collections-to-guava
This commit is contained in:
commit
f76efb2b65
483 changed files with 2270 additions and 1997 deletions
|
|
@ -23,9 +23,9 @@ import org.mage.card.arcane.CardRenderer;
|
|||
public final class GUISizeHelper {
|
||||
|
||||
// relate the native image card size to a value of the size scale
|
||||
final static int CARD_IMAGE_WIDTH = 312;
|
||||
final static int CARD_IMAGE_HEIGHT = 445;
|
||||
final static int CARD_IMAG_VALUE = 42;
|
||||
static final int CARD_IMAGE_WIDTH = 312;
|
||||
static final int CARD_IMAGE_HEIGHT = 445;
|
||||
static final int CARD_IMAG_VALUE = 42;
|
||||
|
||||
public static String basicSymbolSize = "small";
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ import com.mortennobel.imagescaling.ResampleOp;
|
|||
*/
|
||||
public final class TransformedImageCache {
|
||||
|
||||
private final static class Key {
|
||||
private static final class Key {
|
||||
|
||||
final int width;
|
||||
final int height;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ import java.util.*;
|
|||
*/
|
||||
public final class ConstructedFormats {
|
||||
|
||||
public static final String ALL = "- All Sets";
|
||||
public static final String ALL_SETS = "- All Sets";
|
||||
public static final String STANDARD = "- Standard";
|
||||
public static final String EXTENDED = "- Extended";
|
||||
public static final String FRONTIER = "- Frontier";
|
||||
|
|
@ -65,7 +65,7 @@ public final class ConstructedFormats {
|
|||
}
|
||||
|
||||
public static List<String> getSetsByFormat(final String format) {
|
||||
if (!format.equals(ALL)) {
|
||||
if (!format.equals(ALL_SETS)) {
|
||||
return underlyingSetCodesPerFormat.get(format);
|
||||
}
|
||||
return all;
|
||||
|
|
@ -244,7 +244,7 @@ public final class ConstructedFormats {
|
|||
formats.add(0, EXTENDED);
|
||||
formats.add(0, STANDARD);
|
||||
}
|
||||
formats.add(0, ALL);
|
||||
formats.add(0, ALL_SETS);
|
||||
}
|
||||
|
||||
private static String getBlockDisplayName(String blockName) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue