Makes a bunch of instance variables final

This commit is contained in:
Kristian Knarvik 2023-06-23 21:39:50 +02:00
parent 645d59d06e
commit a52f736c74
106 changed files with 109 additions and 109 deletions

View File

@ -8,7 +8,7 @@ public class ExtractorFactionAccountId implements Extractor {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static ExtractorFactionAccountId i = new ExtractorFactionAccountId(); private static final ExtractorFactionAccountId i = new ExtractorFactionAccountId();
public static ExtractorFactionAccountId get() { public static ExtractorFactionAccountId get() {
return i; return i;

View File

@ -96,7 +96,7 @@ public class Factions extends MassivePlugin {
public final static String ID_SAFEZONE = "safezone"; public final static String ID_SAFEZONE = "safezone";
public final static String ID_WARZONE = "warzone"; public final static String ID_WARZONE = "warzone";
public final static String NAME_NONE_DEFAULT = ChatColor.DARK_GREEN.toString() + "Wilderness"; public final static String NAME_NONE_DEFAULT = ChatColor.DARK_GREEN + "Wilderness";
public final static String NAME_SAFEZONE_DEFAULT = "SafeZone"; public final static String NAME_SAFEZONE_DEFAULT = "SafeZone";
public final static String NAME_WARZONE_DEFAULT = "WarZone"; public final static String NAME_WARZONE_DEFAULT = "WarZone";

View File

@ -24,7 +24,7 @@ public class FactionsIndex {
// INSTANCE // INSTANCE
// -------------------------------------------- // // -------------------------------------------- //
private static FactionsIndex i = new FactionsIndex(); private static final FactionsIndex i = new FactionsIndex();
public static FactionsIndex get() { public static FactionsIndex get() {
return i; return i;

View File

@ -15,7 +15,7 @@ public class BoardAdapter implements JsonDeserializer<Board>, JsonSerializer<Boa
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static BoardAdapter i = new BoardAdapter(); private static final BoardAdapter i = new BoardAdapter();
public static BoardAdapter get() { public static BoardAdapter get() {
return i; return i;

View File

@ -20,7 +20,7 @@ public class BoardMapAdapter implements JsonDeserializer<Map<PS, TerritoryAccess
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static BoardMapAdapter i = new BoardMapAdapter(); private static final BoardMapAdapter i = new BoardMapAdapter();
public static BoardMapAdapter get() { public static BoardMapAdapter get() {
return i; return i;

View File

@ -34,7 +34,7 @@ public class TerritoryAccessAdapter implements JsonDeserializer<TerritoryAccess>
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TerritoryAccessAdapter i = new TerritoryAccessAdapter(); private static final TerritoryAccessAdapter i = new TerritoryAccessAdapter();
public static TerritoryAccessAdapter get() { public static TerritoryAccessAdapter get() {
return i; return i;

View File

@ -12,7 +12,7 @@ public class ChatModifierLc extends ChatModifier {
super("lc"); super("lc");
} }
private static ChatModifierLc i = new ChatModifierLc(); private static final ChatModifierLc i = new ChatModifierLc();
public static ChatModifierLc get() { public static ChatModifierLc get() {
return i; return i;

View File

@ -13,7 +13,7 @@ public class ChatModifierLp extends ChatModifier {
super("lp"); super("lp");
} }
private static ChatModifierLp i = new ChatModifierLp(); private static final ChatModifierLp i = new ChatModifierLp();
public static ChatModifierLp get() { public static ChatModifierLp get() {
return i; return i;

View File

@ -13,7 +13,7 @@ public class ChatModifierParse extends ChatModifier {
super("parse"); super("parse");
} }
private static ChatModifierParse i = new ChatModifierParse(); private static final ChatModifierParse i = new ChatModifierParse();
public static ChatModifierParse get() { public static ChatModifierParse get() {
return i; return i;

View File

@ -12,7 +12,7 @@ public class ChatModifierRp extends ChatModifier {
super("rp"); super("rp");
} }
private static ChatModifierRp i = new ChatModifierRp(); private static final ChatModifierRp i = new ChatModifierRp();
public static ChatModifierRp get() { public static ChatModifierRp get() {
return i; return i;

View File

@ -12,7 +12,7 @@ public class ChatModifierUc extends ChatModifier {
super("uc"); super("uc");
} }
private static ChatModifierUc i = new ChatModifierUc(); private static final ChatModifierUc i = new ChatModifierUc();
public static ChatModifierUc get() { public static ChatModifierUc get() {
return i; return i;

View File

@ -13,7 +13,7 @@ public class ChatModifierUcf extends ChatModifier {
super("ucf"); super("ucf");
} }
private static ChatModifierUcf i = new ChatModifierUcf(); private static final ChatModifierUcf i = new ChatModifierUcf();
public static ChatModifierUcf get() { public static ChatModifierUcf get() {
return i; return i;

View File

@ -14,7 +14,7 @@ public class ChatTagName extends ChatTag {
super("factions_name"); super("factions_name");
} }
private static ChatTagName i = new ChatTagName(); private static final ChatTagName i = new ChatTagName();
public static ChatTagName get() { public static ChatTagName get() {
return i; return i;

View File

@ -14,7 +14,7 @@ public class ChatTagNameforce extends ChatTag {
super("factions_nameforce"); super("factions_nameforce");
} }
private static ChatTagNameforce i = new ChatTagNameforce(); private static final ChatTagNameforce i = new ChatTagNameforce();
public static ChatTagNameforce get() { public static ChatTagNameforce get() {
return i; return i;

View File

@ -13,7 +13,7 @@ public class ChatTagRelcolor extends ChatTag {
super("factions_relcolor"); super("factions_relcolor");
} }
private static ChatTagRelcolor i = new ChatTagRelcolor(); private static final ChatTagRelcolor i = new ChatTagRelcolor();
public static ChatTagRelcolor get() { public static ChatTagRelcolor get() {
return i; return i;

View File

@ -14,7 +14,7 @@ public class ChatTagRole extends ChatTag {
super("factions_role"); super("factions_role");
} }
private static ChatTagRole i = new ChatTagRole(); private static final ChatTagRole i = new ChatTagRole();
public static ChatTagRole get() { public static ChatTagRole get() {
return i; return i;

View File

@ -14,7 +14,7 @@ public class ChatTagRoleprefix extends ChatTag {
super("factions_roleprefix"); super("factions_roleprefix");
} }
private static ChatTagRoleprefix i = new ChatTagRoleprefix(); private static final ChatTagRoleprefix i = new ChatTagRoleprefix();
public static ChatTagRoleprefix get() { public static ChatTagRoleprefix get() {
return i; return i;

View File

@ -13,7 +13,7 @@ public class ChatTagRoleprefixforce extends ChatTag {
super("factions_roleprefixforce"); super("factions_roleprefixforce");
} }
private static ChatTagRoleprefixforce i = new ChatTagRoleprefixforce(); private static final ChatTagRoleprefixforce i = new ChatTagRoleprefixforce();
public static ChatTagRoleprefixforce get() { public static ChatTagRoleprefixforce get() {
return i; return i;

View File

@ -13,7 +13,7 @@ public class ChatTagTitle extends ChatTag {
super("factions_title"); super("factions_title");
} }
private static ChatTagTitle i = new ChatTagTitle(); private static final ChatTagTitle i = new ChatTagTitle();
public static ChatTagTitle get() { public static ChatTagTitle get() {
return i; return i;

View File

@ -12,7 +12,7 @@ public class CmdFactions extends FactionsCommand {
// INSTANCE // INSTANCE
// -------------------------------------------- // // -------------------------------------------- //
private static CmdFactions i = new CmdFactions(); private static final CmdFactions i = new CmdFactions();
public static CmdFactions get() { public static CmdFactions get() {
return i; return i;

View File

@ -14,7 +14,7 @@ public class CmdFactionsFly extends MassiveCommandToggle {
// INSTANCE // INSTANCE
// -------------------------------------------- // // -------------------------------------------- //
private static CmdFactionsFly i = new CmdFactionsFly(); private static final CmdFactionsFly i = new CmdFactionsFly();
public static CmdFactionsFly get() { public static CmdFactionsFly get() {
return i; return i;

View File

@ -63,7 +63,7 @@ public class CmdFactionsInviteRemove extends FactionsCommand {
Mson kick = Mson.mson( Mson kick = Mson.mson(
mson("You might want to kick him. ").color(ChatColor.YELLOW), mson("You might want to kick him. ").color(ChatColor.YELLOW),
mson(ChatColor.RED.toString() + tooltip).tooltip(ChatColor.YELLOW.toString() + tooltip).suggest(command) mson(ChatColor.RED + tooltip).tooltip(ChatColor.YELLOW + tooltip).suggest(command)
); );
// Inform // Inform
@ -106,7 +106,7 @@ public class CmdFactionsInviteRemove extends FactionsCommand {
Mson invite = Mson.mson( Mson invite = Mson.mson(
mson("You might want to invite him. ").color(ChatColor.YELLOW), mson("You might want to invite him. ").color(ChatColor.YELLOW),
mson(ChatColor.GREEN.toString() + tooltip).tooltip(ChatColor.YELLOW.toString() + tooltip).suggest(command) mson(ChatColor.GREEN + tooltip).tooltip(ChatColor.YELLOW + tooltip).suggest(command)
); );
// Inform // Inform

View File

@ -18,7 +18,7 @@ public class ReqBankCommandsEnabled extends RequirementAbstract {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static ReqBankCommandsEnabled i = new ReqBankCommandsEnabled(); private static final ReqBankCommandsEnabled i = new ReqBankCommandsEnabled();
public static ReqBankCommandsEnabled get() { public static ReqBankCommandsEnabled get() {
return i; return i;

View File

@ -17,7 +17,7 @@ public class ReqFactionWarpsEnabled extends RequirementAbstract {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static ReqFactionWarpsEnabled i = new ReqFactionWarpsEnabled(); private static final ReqFactionWarpsEnabled i = new ReqFactionWarpsEnabled();
public static ReqFactionWarpsEnabled get() { public static ReqFactionWarpsEnabled get() {
return i; return i;

View File

@ -18,7 +18,7 @@ public class ReqHasFaction extends RequirementAbstract {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static ReqHasFaction i = new ReqHasFaction(); private static final ReqHasFaction i = new ReqHasFaction();
public static ReqHasFaction get() { public static ReqHasFaction get() {
return i; return i;

View File

@ -18,7 +18,7 @@ public class ReqHasntFaction extends RequirementAbstract {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static ReqHasntFaction i = new ReqHasntFaction(); private static final ReqHasntFaction i = new ReqHasntFaction();
public static ReqHasntFaction get() { public static ReqHasntFaction get() {
return i; return i;

View File

@ -17,7 +17,7 @@ public class ReqTaxEnabled extends RequirementAbstract {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static ReqTaxEnabled i = new ReqTaxEnabled(); private static final ReqTaxEnabled i = new ReqTaxEnabled();
public static ReqTaxEnabled get() { public static ReqTaxEnabled get() {
return i; return i;

View File

@ -21,7 +21,7 @@ public class TypeFaction extends TypeAbstract<Faction> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeFaction i = new TypeFaction(); private static final TypeFaction i = new TypeFaction();
public static TypeFaction get() { public static TypeFaction get() {
return i; return i;

View File

@ -8,7 +8,7 @@ public class TypeFactionChunkChangeType extends TypeEnum<EventFactionsChunkChang
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeFactionChunkChangeType i = new TypeFactionChunkChangeType(); private static final TypeFactionChunkChangeType i = new TypeFactionChunkChangeType();
public static TypeFactionChunkChangeType get() { public static TypeFactionChunkChangeType get() {
return i; return i;

View File

@ -5,7 +5,7 @@ public class TypeFactionNameLenient extends TypeFactionNameAbstract {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeFactionNameLenient i = new TypeFactionNameLenient(); private static final TypeFactionNameLenient i = new TypeFactionNameLenient();
public static TypeFactionNameLenient get() { public static TypeFactionNameLenient get() {
return i; return i;

View File

@ -5,7 +5,7 @@ public class TypeFactionNameStrict extends TypeFactionNameAbstract {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeFactionNameStrict i = new TypeFactionNameStrict(); private static final TypeFactionNameStrict i = new TypeFactionNameStrict();
public static TypeFactionNameStrict get() { public static TypeFactionNameStrict get() {
return i; return i;

View File

@ -11,7 +11,7 @@ public class TypeMFlag extends TypeEntity<MFlag> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeMFlag i = new TypeMFlag(); private static final TypeMFlag i = new TypeMFlag();
public static TypeMFlag get() { public static TypeMFlag get() {
return i; return i;

View File

@ -11,7 +11,7 @@ public class TypeMPerm extends TypeEntity<MPerm> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeMPerm i = new TypeMPerm(); private static final TypeMPerm i = new TypeMPerm();
public static TypeMPerm get() { public static TypeMPerm get() {
return i; return i;

View File

@ -20,7 +20,7 @@ public class TypeMPermable extends TypeAbstract<MPerm.MPermable> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeMPermable i = new TypeMPermable(); private static final TypeMPermable i = new TypeMPermable();
public static TypeMPermable get() { public static TypeMPermable get() {
return i; return i;

View File

@ -15,7 +15,7 @@ public class TypeRank extends TypeEntityInternalFaction<Rank> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeRank i = new TypeRank(); private static final TypeRank i = new TypeRank();
public static TypeRank get() { public static TypeRank get() {
return i; return i;

View File

@ -10,7 +10,7 @@ public class TypeRel extends TypeEnum<Rel> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeRel i = new TypeRel(); private static final TypeRel i = new TypeRel();
public static TypeRel get() { public static TypeRel get() {
return i; return i;

View File

@ -7,7 +7,7 @@ public class TypeRelation extends TypeRel {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeRelation i = new TypeRelation(); private static final TypeRelation i = new TypeRelation();
public static TypeRelation get() { public static TypeRelation get() {
return i; return i;

View File

@ -13,7 +13,7 @@ public class TypeSortMPlayer extends TypeAbstractChoice<Comparator<MPlayer>> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeSortMPlayer i = new TypeSortMPlayer(); private static final TypeSortMPlayer i = new TypeSortMPlayer();
public static TypeSortMPlayer get() { public static TypeSortMPlayer get() {
return i; return i;

View File

@ -19,7 +19,7 @@ public class TypeTaxable extends TypeAbstract<String> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeTaxable i = new TypeTaxable(); private static final TypeTaxable i = new TypeTaxable();
public static TypeTaxable get() { public static TypeTaxable get() {
return i; return i;

View File

@ -10,7 +10,7 @@ public class TypeVote extends TypeEntityInternalFaction<Vote> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeVote i = new TypeVote(); private static final TypeVote i = new TypeVote();
public static TypeVote get() { public static TypeVote get() {
return i; return i;

View File

@ -10,7 +10,7 @@ public class TypeWarp extends TypeEntityInternalFaction<Warp> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static TypeWarp i = new TypeWarp(); private static final TypeWarp i = new TypeWarp();
public static TypeWarp get() { public static TypeWarp get() {
return i; return i;

View File

@ -9,7 +9,7 @@ public class ComparatorMPlayerInactivity extends ComparatorAbstract<MPlayer> imp
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static ComparatorMPlayerInactivity i = new ComparatorMPlayerInactivity(); private static final ComparatorMPlayerInactivity i = new ComparatorMPlayerInactivity();
public static ComparatorMPlayerInactivity get() { public static ComparatorMPlayerInactivity get() {
return i; return i;

View File

@ -9,7 +9,7 @@ public class ComparatorMPlayerPower extends ComparatorAbstract<MPlayer> implemen
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static ComparatorMPlayerPower i = new ComparatorMPlayerPower(); private static final ComparatorMPlayerPower i = new ComparatorMPlayerPower();
public static ComparatorMPlayerPower get() { public static ComparatorMPlayerPower get() {
return i; return i;

View File

@ -10,7 +10,7 @@ public class ComparatorMPlayerRole extends ComparatorAbstract<MPlayer> implement
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static ComparatorMPlayerRole i = new ComparatorMPlayerRole(); private static final ComparatorMPlayerRole i = new ComparatorMPlayerRole();
public static ComparatorMPlayerRole get() { public static ComparatorMPlayerRole get() {
return i; return i;

View File

@ -32,7 +32,7 @@ public class EngineCanCombatHappen extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineCanCombatHappen i = new EngineCanCombatHappen(); private static final EngineCanCombatHappen i = new EngineCanCombatHappen();
public static EngineCanCombatHappen get() { public static EngineCanCombatHappen get() {
return i; return i;

View File

@ -27,7 +27,7 @@ public class EngineChat extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineChat i = new EngineChat(); private static final EngineChat i = new EngineChat();
public static EngineChat get() { public static EngineChat get() {
return i; return i;

View File

@ -30,7 +30,7 @@ public class EngineChunkChange extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineChunkChange i = new EngineChunkChange(); private static final EngineChunkChange i = new EngineChunkChange();
public static EngineChunkChange get() { public static EngineChunkChange get() {
return i; return i;

View File

@ -17,7 +17,7 @@ public class EngineCleanInactivity extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineCleanInactivity i = new EngineCleanInactivity(); private static final EngineCleanInactivity i = new EngineCleanInactivity();
public static EngineCleanInactivity get() { public static EngineCleanInactivity get() {
return i; return i;

View File

@ -22,7 +22,7 @@ public class EngineDenyCommands extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineDenyCommands i = new EngineDenyCommands(); private static final EngineDenyCommands i = new EngineDenyCommands();
public static EngineDenyCommands get() { public static EngineDenyCommands get() {
return i; return i;

View File

@ -25,7 +25,7 @@ public class EngineDenyTeleport extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineDenyTeleport i = new EngineDenyTeleport(); private static final EngineDenyTeleport i = new EngineDenyTeleport();
public static EngineDenyTeleport get() { public static EngineDenyTeleport get() {
return i; return i;

View File

@ -39,7 +39,7 @@ public class EngineEcon extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineEcon i = new EngineEcon(); private static final EngineEcon i = new EngineEcon();
public static EngineEcon get() { public static EngineEcon get() {
return i; return i;

View File

@ -26,7 +26,7 @@ public class EngineExploit extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineExploit i = new EngineExploit(); private static final EngineExploit i = new EngineExploit();
public static EngineExploit get() { public static EngineExploit get() {
return i; return i;
@ -104,7 +104,7 @@ public class EngineExploit extends Engine {
private static final int NETHER_TRAP_RADIUS_CHECK = 5; private static final int NETHER_TRAP_RADIUS_CHECK = 5;
private static final int NETHER_TRAP_RESET_RADIUS_SQUARED = 9; private static final int NETHER_TRAP_RESET_RADIUS_SQUARED = 9;
private HashMap<UUID, List<Block>> portalTraps = new HashMap<>(); private final HashMap<UUID, List<Block>> portalTraps = new HashMap<>();
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void portalTrapRemoveAnimation(PlayerTeleportEvent event) { public void portalTrapRemoveAnimation(PlayerTeleportEvent event) {

View File

@ -16,7 +16,7 @@ public class EngineFlagEndergrief extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineFlagEndergrief i = new EngineFlagEndergrief(); private static final EngineFlagEndergrief i = new EngineFlagEndergrief();
public static EngineFlagEndergrief get() { public static EngineFlagEndergrief get() {
return i; return i;

View File

@ -32,7 +32,7 @@ public class EngineFlagExplosion extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineFlagExplosion i = new EngineFlagExplosion(); private static final EngineFlagExplosion i = new EngineFlagExplosion();
public static EngineFlagExplosion get() { public static EngineFlagExplosion get() {
return i; return i;

View File

@ -20,7 +20,7 @@ public class EngineFlagFireSpread extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineFlagFireSpread i = new EngineFlagFireSpread(); private static final EngineFlagFireSpread i = new EngineFlagFireSpread();
public static EngineFlagFireSpread get() { public static EngineFlagFireSpread get() {
return i; return i;

View File

@ -21,7 +21,7 @@ public class EngineFlagSpawn extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineFlagSpawn i = new EngineFlagSpawn(); private static final EngineFlagSpawn i = new EngineFlagSpawn();
public static EngineFlagSpawn get() { public static EngineFlagSpawn get() {
return i; return i;

View File

@ -16,7 +16,7 @@ public class EngineFlagZombiegrief extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineFlagZombiegrief i = new EngineFlagZombiegrief(); private static final EngineFlagZombiegrief i = new EngineFlagZombiegrief();
public static EngineFlagZombiegrief get() { public static EngineFlagZombiegrief get() {
return i; return i;

View File

@ -30,7 +30,7 @@ public class EngineFly extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineFly i = new EngineFly(); private static final EngineFly i = new EngineFly();
public static EngineFly get() { public static EngineFly get() {
return i; return i;

View File

@ -16,7 +16,7 @@ public class EngineLastActivity extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineLastActivity i = new EngineLastActivity(); private static final EngineLastActivity i = new EngineLastActivity();
public static EngineLastActivity get() { public static EngineLastActivity get() {
return i; return i;

View File

@ -21,7 +21,7 @@ public class EngineMotd extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineMotd i = new EngineMotd(); private static final EngineMotd i = new EngineMotd();
public static EngineMotd get() { public static EngineMotd get() {
return i; return i;

View File

@ -24,7 +24,7 @@ public class EngineMoveChunk extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineMoveChunk i = new EngineMoveChunk(); private static final EngineMoveChunk i = new EngineMoveChunk();
public static EngineMoveChunk get() { public static EngineMoveChunk get() {
return i; return i;

View File

@ -53,7 +53,7 @@ public class EnginePermBuild extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EnginePermBuild i = new EnginePermBuild(); private static final EnginePermBuild i = new EnginePermBuild();
public static EnginePermBuild get() { public static EnginePermBuild get() {
return i; return i;

View File

@ -14,7 +14,7 @@ public class EnginePlayerData extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EnginePlayerData i = new EnginePlayerData(); private static final EnginePlayerData i = new EnginePlayerData();
public static EnginePlayerData get() { public static EnginePlayerData get() {
return i; return i;

View File

@ -21,7 +21,7 @@ public class EnginePower extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EnginePower i = new EnginePower(); private static final EnginePower i = new EnginePower();
public static EnginePower get() { public static EnginePower get() {
return i; return i;

View File

@ -24,7 +24,7 @@ public class EngineSeeChunk extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineSeeChunk i = new EngineSeeChunk(); private static final EngineSeeChunk i = new EngineSeeChunk();
public static EngineSeeChunk get() { public static EngineSeeChunk get() {
return i; return i;

View File

@ -56,7 +56,7 @@ public class EngineShow extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineShow i = new EngineShow(); private static final EngineShow i = new EngineShow();
public static EngineShow get() { public static EngineShow get() {
return i; return i;

View File

@ -19,7 +19,7 @@ public class EngineTeleportHomeOnDeath extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineTeleportHomeOnDeath i = new EngineTeleportHomeOnDeath(); private static final EngineTeleportHomeOnDeath i = new EngineTeleportHomeOnDeath();
public static EngineTeleportHomeOnDeath get() { public static EngineTeleportHomeOnDeath get() {
return i; return i;

View File

@ -17,7 +17,7 @@ public class EngineTerritoryShield extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineTerritoryShield i = new EngineTerritoryShield(); private static final EngineTerritoryShield i = new EngineTerritoryShield();
public static EngineTerritoryShield get() { public static EngineTerritoryShield get() {
return i; return i;

View File

@ -12,7 +12,7 @@ public class EngineVisualizations extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineVisualizations i = new EngineVisualizations(); private static final EngineVisualizations i = new EngineVisualizations();
public static EngineVisualizations get() { public static EngineVisualizations get() {
return i; return i;

View File

@ -22,7 +22,7 @@ public class BoardColl extends Coll<Board> implements BoardInterface {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static BoardColl i = new BoardColl(); private static final BoardColl i = new BoardColl();
public static BoardColl get() { public static BoardColl get() {
return i; return i;

View File

@ -18,7 +18,7 @@ public class FactionColl extends Coll<Faction> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static FactionColl i = new FactionColl(); private static final FactionColl i = new FactionColl();
public static FactionColl get() { public static FactionColl get() {
return i; return i;

View File

@ -8,7 +8,7 @@ public class MConfColl extends Coll<MConf> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MConfColl i = new MConfColl(); private static final MConfColl i = new MConfColl();
public static MConfColl get() { public static MConfColl get() {
return i; return i;

View File

@ -10,7 +10,7 @@ public class MFlagColl extends Coll<MFlag> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MFlagColl i = new MFlagColl(); private static final MFlagColl i = new MFlagColl();
public static MFlagColl get() { public static MFlagColl get() {
return i; return i;

View File

@ -13,7 +13,7 @@ public class MPermColl extends Coll<MPerm> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MPermColl i = new MPermColl(); private static final MPermColl i = new MPermColl();
public static MPermColl get() { public static MPermColl get() {
return i; return i;

View File

@ -7,7 +7,7 @@ public class MPlayerColl extends SenderColl<MPlayer> {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MPlayerColl i = new MPlayerColl(); private static final MPlayerColl i = new MPlayerColl();
public static MPlayerColl get() { public static MPlayerColl get() {
return i; return i;

View File

@ -41,7 +41,7 @@ public class Vote extends EntityInternal<Vote> implements Named {
return this.creationMillis; return this.creationMillis;
} }
private String name; private final String name;
@Override @Override
public String getName() { public String getName() {

View File

@ -12,7 +12,7 @@ public class MigratorFaction001Invitations extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static com.massivecraft.factions.entity.migrator.MigratorFaction001Invitations i = new com.massivecraft.factions.entity.migrator.MigratorFaction001Invitations(); private static final com.massivecraft.factions.entity.migrator.MigratorFaction001Invitations i = new com.massivecraft.factions.entity.migrator.MigratorFaction001Invitations();
public static com.massivecraft.factions.entity.migrator.MigratorFaction001Invitations get() { public static com.massivecraft.factions.entity.migrator.MigratorFaction001Invitations get() {
return i; return i;

View File

@ -22,7 +22,7 @@ public class MigratorFaction002Ranks extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MigratorFaction002Ranks i = new MigratorFaction002Ranks(); private static final MigratorFaction002Ranks i = new MigratorFaction002Ranks();
public static MigratorFaction002Ranks get() { public static MigratorFaction002Ranks get() {
return i; return i;

View File

@ -18,7 +18,7 @@ public class MigratorFaction003Warps extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MigratorFaction003Warps i = new MigratorFaction003Warps(); private static final MigratorFaction003Warps i = new MigratorFaction003Warps();
public static MigratorFaction003Warps get() { public static MigratorFaction003Warps get() {
return i; return i;

View File

@ -10,7 +10,7 @@ public class MigratorFaction004WarpsPerms extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MigratorFaction004WarpsPerms i = new MigratorFaction004WarpsPerms(); private static final MigratorFaction004WarpsPerms i = new MigratorFaction004WarpsPerms();
public static MigratorFaction004WarpsPerms get() { public static MigratorFaction004WarpsPerms get() {
return i; return i;

View File

@ -16,7 +16,7 @@ public class MigratorMConf001EnumerationUtil extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MigratorMConf001EnumerationUtil i = new MigratorMConf001EnumerationUtil(); private static final MigratorMConf001EnumerationUtil i = new MigratorMConf001EnumerationUtil();
public static MigratorMConf001EnumerationUtil get() { public static MigratorMConf001EnumerationUtil get() {
return i; return i;

View File

@ -9,7 +9,7 @@ public class MigratorMConf002CleanInactivity extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MigratorMConf002CleanInactivity i = new MigratorMConf002CleanInactivity(); private static final MigratorMConf002CleanInactivity i = new MigratorMConf002CleanInactivity();
public static MigratorMConf002CleanInactivity get() { public static MigratorMConf002CleanInactivity get() {
return i; return i;

View File

@ -9,7 +9,7 @@ public class MigratorMConf003CleanInactivity extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MigratorMConf003CleanInactivity i = new MigratorMConf003CleanInactivity(); private static final MigratorMConf003CleanInactivity i = new MigratorMConf003CleanInactivity();
public static MigratorMConf003CleanInactivity get() { public static MigratorMConf003CleanInactivity get() {
return i; return i;

View File

@ -13,7 +13,7 @@ public class MigratorMConf004Rank extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MigratorMConf004Rank i = new MigratorMConf004Rank(); private static final MigratorMConf004Rank i = new MigratorMConf004Rank();
public static MigratorMConf004Rank get() { public static MigratorMConf004Rank get() {
return i; return i;

View File

@ -9,7 +9,7 @@ public class MigratorMConf005Warps extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MigratorMConf005Warps i = new MigratorMConf005Warps(); private static final MigratorMConf005Warps i = new MigratorMConf005Warps();
public static MigratorMConf005Warps get() { public static MigratorMConf005Warps get() {
return i; return i;

View File

@ -10,7 +10,7 @@ public class MigratorMPerm001Warps extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MigratorMPerm001Warps i = new MigratorMPerm001Warps(); private static final MigratorMPerm001Warps i = new MigratorMPerm001Warps();
public static MigratorMPerm001Warps get() { public static MigratorMPerm001Warps get() {
return i; return i;

View File

@ -15,7 +15,7 @@ public class MigratorMPerm002MoveStandard extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MigratorMPerm002MoveStandard i = new MigratorMPerm002MoveStandard(); private static final MigratorMPerm002MoveStandard i = new MigratorMPerm002MoveStandard();
public static MigratorMPerm002MoveStandard get() { public static MigratorMPerm002MoveStandard get() {
return i; return i;

View File

@ -17,7 +17,7 @@ public class MigratorMPlayer001Ranks extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MigratorMPlayer001Ranks i = new MigratorMPlayer001Ranks(); private static final MigratorMPlayer001Ranks i = new MigratorMPlayer001Ranks();
public static MigratorMPlayer001Ranks get() { public static MigratorMPlayer001Ranks get() {
return i; return i;

View File

@ -9,7 +9,7 @@ public class MigratorMPlayer002UsingAdminMode extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MigratorMPlayer002UsingAdminMode i = new MigratorMPlayer002UsingAdminMode(); private static final MigratorMPlayer002UsingAdminMode i = new MigratorMPlayer002UsingAdminMode();
public static MigratorMPlayer002UsingAdminMode get() { public static MigratorMPlayer002UsingAdminMode get() {
return i; return i;

View File

@ -12,7 +12,7 @@ public class MigratorTerritoryAccess001Restructure extends MigratorRoot {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static MigratorTerritoryAccess001Restructure i = new MigratorTerritoryAccess001Restructure(); private static final MigratorTerritoryAccess001Restructure i = new MigratorTerritoryAccess001Restructure();
public static MigratorTerritoryAccess001Restructure get() { public static MigratorTerritoryAccess001Restructure get() {
return i; return i;

View File

@ -43,7 +43,7 @@ public class EngineDynmap extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineDynmap i = new EngineDynmap(); private static final EngineDynmap i = new EngineDynmap();
public static EngineDynmap get() { public static EngineDynmap get() {
return i; return i;
@ -650,7 +650,7 @@ public class EngineDynmap extends Engine {
} }
public static void logSevere(String msg) { public static void logSevere(String msg) {
String message = ChatColor.RED.toString() + msg; String message = ChatColor.RED + msg;
Factions.get().log(message); Factions.get().log(message);
} }

View File

@ -33,7 +33,7 @@ public class IntegrationDynmap extends Integration {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static IntegrationDynmap i = new IntegrationDynmap(); private static final IntegrationDynmap i = new IntegrationDynmap();
public static IntegrationDynmap get() { public static IntegrationDynmap get() {
return i; return i;

View File

@ -20,7 +20,7 @@ public class EngineLockette extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineLockette i = new EngineLockette(); private static final EngineLockette i = new EngineLockette();
public static EngineLockette get() { public static EngineLockette get() {
return i; return i;

View File

@ -8,7 +8,7 @@ public class IntegrationLockette extends Integration {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static IntegrationLockette i = new IntegrationLockette(); private static final IntegrationLockette i = new IntegrationLockette();
public static IntegrationLockette get() { public static IntegrationLockette get() {
return i; return i;

View File

@ -27,7 +27,7 @@ public class EngineLwc extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineLwc i = new EngineLwc(); private static final EngineLwc i = new EngineLwc();
public static EngineLwc get() { public static EngineLwc get() {
return i; return i;

View File

@ -8,7 +8,7 @@ public class IntegrationLwc extends Integration {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static IntegrationLwc i = new IntegrationLwc(); private static final IntegrationLwc i = new IntegrationLwc();
public static IntegrationLwc get() { public static IntegrationLwc get() {
return i; return i;

View File

@ -11,7 +11,7 @@ public class IntegrationPlaceholderAPI extends Integration {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static IntegrationPlaceholderAPI i = new IntegrationPlaceholderAPI(); private static final IntegrationPlaceholderAPI i = new IntegrationPlaceholderAPI();
public static IntegrationPlaceholderAPI get() { public static IntegrationPlaceholderAPI get() {
return i; return i;

View File

@ -13,7 +13,7 @@ public class PlaceholderFactions extends PlaceholderExpansion {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static PlaceholderFactions i = new PlaceholderFactions(); private static final PlaceholderFactions i = new PlaceholderFactions();
public static PlaceholderFactions get() { public static PlaceholderFactions get() {
return i; return i;

View File

@ -20,7 +20,7 @@ public class EngineVentureChat extends Engine {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static EngineVentureChat i = new EngineVentureChat(); private static final EngineVentureChat i = new EngineVentureChat();
public static EngineVentureChat get() { public static EngineVentureChat get() {
return i; return i;

View File

@ -8,7 +8,7 @@ public class IntegrationVentureChat extends Integration {
// INSTANCE & CONSTRUCT // INSTANCE & CONSTRUCT
// -------------------------------------------- // // -------------------------------------------- //
private static IntegrationVentureChat i = new IntegrationVentureChat(); private static final IntegrationVentureChat i = new IntegrationVentureChat();
public static IntegrationVentureChat get() { public static IntegrationVentureChat get() {
return i; return i;

Some files were not shown because too many files have changed in this diff Show More