make inner class static

This commit is contained in:
xenohedron 2024-02-17 02:16:14 -05:00
parent a8648c25f7
commit 0a5370cf27
3 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ import java.util.Scanner;
public abstract class DeckImporter {
public class FixedInfo {
public static class FixedInfo {
private final String originalLine;
private String fixedLine;
private Boolean canFix = true; // set false if deck have critical error and can't be auto-fixed

View file

@ -15,7 +15,7 @@ import org.apache.log4j.Logger;
*/
public abstract class DraftCube {
public class CardIdentity {
public static class CardIdentity {
private final String name;
private final String extension;
@ -55,7 +55,7 @@ public abstract class DraftCube {
protected List<CardIdentity> cubeCards = new ArrayList<>();
protected List<CardIdentity> leftCubeCards = new ArrayList<>();
public DraftCube(String name) {
protected DraftCube(String name) {
this.name = name;
this.code = getClass().getSimpleName();
}

View file

@ -1376,7 +1376,7 @@ public abstract class PlayerImpl implements Player, Serializable {
NOT_REQUIRED_NO_CHOICE,
}
private class ApprovingObjectResult {
private static class ApprovingObjectResult {
public final ApprovingObjectResultStatus status;
public final ApprovingObject approvingObject; // not null iff status is CHOSEN