mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
Made utility classes final to explicitly forbid it's inheritance
This commit is contained in:
parent
f309717616
commit
498c8cf60c
80 changed files with 83 additions and 83 deletions
|
|
@ -15,10 +15,10 @@ import java.util.HashMap;
|
|||
import java.util.Map;
|
||||
import java.util.zip.ZipInputStream;
|
||||
|
||||
public class MtgJson {
|
||||
public final class MtgJson {
|
||||
private MtgJson() {}
|
||||
|
||||
private static class CardHolder {
|
||||
private static final class CardHolder {
|
||||
private static final Map<String, JsonCard> cards;
|
||||
static {
|
||||
try {
|
||||
|
|
@ -30,7 +30,7 @@ public class MtgJson {
|
|||
}
|
||||
}
|
||||
|
||||
private static class SetHolder {
|
||||
private static final class SetHolder {
|
||||
private static final Map<String, JsonSet> sets;
|
||||
static {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue