Revert "intellij "code cleanup" just adds final everywhere"

This reverts commit eb8571b6e9.
This commit is contained in:
Telesphoreo 2022-03-25 00:54:21 -05:00
parent eb8571b6e9
commit 635c1beba7
6 changed files with 15 additions and 15 deletions

View file

@ -15,17 +15,17 @@ public class Config extends YamlConfiguration
/** /**
* The plugin instance * The plugin instance
*/ */
private final Plex plugin; private Plex plugin;
/** /**
* The File instance * The File instance
*/ */
private final File file; private File file;
/** /**
* The file name * The file name
*/ */
private final String name; private String name;
/** /**
* Whether new entries were added to the file automatically * Whether new entries were added to the file automatically

View file

@ -20,7 +20,7 @@ import org.bukkit.inventory.meta.SkullMeta;
public class PunishmentMenu extends AbstractMenu public class PunishmentMenu extends AbstractMenu
{ {
private final List<Inventory> inventories = Lists.newArrayList(); private List<Inventory> inventories = Lists.newArrayList();
public PunishmentMenu() public PunishmentMenu()
{ {

View file

@ -20,16 +20,16 @@ public enum Rank
private final int level; private final int level;
@Setter @Setter
private final String loginMessage; private String loginMessage;
@Setter @Setter
private final String readable; private String readable;
@Setter @Setter
private final String prefix; private String prefix;
@Getter @Getter
private final NamedTextColor color; private NamedTextColor color;
Rank(int level, String loginMessage, String readable, String prefix, NamedTextColor color) Rank(int level, String loginMessage, String readable, String prefix, NamedTextColor color)
{ {

View file

@ -17,16 +17,16 @@ public enum Title
private final int level; private final int level;
@Setter @Setter
private final String loginMessage; private String loginMessage;
@Setter @Setter
private final String readable; private String readable;
@Setter @Setter
private final String prefix; private String prefix;
@Getter @Getter
private final NamedTextColor color; private NamedTextColor color;
Title(int level, String loginMessage, String readable, String prefix, NamedTextColor color) Title(int level, String loginMessage, String readable, String prefix, NamedTextColor color)
{ {

View file

@ -4,8 +4,8 @@ import dev.plex.PlexBase;
public abstract class AbstractService extends PlexBase implements IService public abstract class AbstractService extends PlexBase implements IService
{ {
private final boolean asynchronous; private boolean asynchronous;
private final boolean repeating; private boolean repeating;
public AbstractService(boolean repeating, boolean async) public AbstractService(boolean repeating, boolean async)
{ {

View file

@ -5,7 +5,7 @@ import org.bukkit.event.Listener;
public abstract class AbstractMenu implements Listener public abstract class AbstractMenu implements Listener
{ {
private final String name; private String name;
public AbstractMenu(String name) public AbstractMenu(String name)
{ {