Makes a bunch of instance variables final
This commit is contained in:
@@ -12,7 +12,7 @@ public class CmdFactions extends FactionsCommand {
|
||||
// INSTANCE
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static CmdFactions i = new CmdFactions();
|
||||
private static final CmdFactions i = new CmdFactions();
|
||||
|
||||
public static CmdFactions get() {
|
||||
return i;
|
||||
|
@@ -14,7 +14,7 @@ public class CmdFactionsFly extends MassiveCommandToggle {
|
||||
// INSTANCE
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static CmdFactionsFly i = new CmdFactionsFly();
|
||||
private static final CmdFactionsFly i = new CmdFactionsFly();
|
||||
|
||||
public static CmdFactionsFly get() {
|
||||
return i;
|
||||
|
@@ -63,7 +63,7 @@ public class CmdFactionsInviteRemove extends FactionsCommand {
|
||||
|
||||
Mson kick = Mson.mson(
|
||||
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
|
||||
@@ -106,7 +106,7 @@ public class CmdFactionsInviteRemove extends FactionsCommand {
|
||||
|
||||
Mson invite = Mson.mson(
|
||||
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
|
||||
|
@@ -18,7 +18,7 @@ public class ReqBankCommandsEnabled extends RequirementAbstract {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static ReqBankCommandsEnabled i = new ReqBankCommandsEnabled();
|
||||
private static final ReqBankCommandsEnabled i = new ReqBankCommandsEnabled();
|
||||
|
||||
public static ReqBankCommandsEnabled get() {
|
||||
return i;
|
||||
|
@@ -17,7 +17,7 @@ public class ReqFactionWarpsEnabled extends RequirementAbstract {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static ReqFactionWarpsEnabled i = new ReqFactionWarpsEnabled();
|
||||
private static final ReqFactionWarpsEnabled i = new ReqFactionWarpsEnabled();
|
||||
|
||||
public static ReqFactionWarpsEnabled get() {
|
||||
return i;
|
||||
|
@@ -18,7 +18,7 @@ public class ReqHasFaction extends RequirementAbstract {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static ReqHasFaction i = new ReqHasFaction();
|
||||
private static final ReqHasFaction i = new ReqHasFaction();
|
||||
|
||||
public static ReqHasFaction get() {
|
||||
return i;
|
||||
|
@@ -18,7 +18,7 @@ public class ReqHasntFaction extends RequirementAbstract {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static ReqHasntFaction i = new ReqHasntFaction();
|
||||
private static final ReqHasntFaction i = new ReqHasntFaction();
|
||||
|
||||
public static ReqHasntFaction get() {
|
||||
return i;
|
||||
|
@@ -17,7 +17,7 @@ public class ReqTaxEnabled extends RequirementAbstract {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static ReqTaxEnabled i = new ReqTaxEnabled();
|
||||
private static final ReqTaxEnabled i = new ReqTaxEnabled();
|
||||
|
||||
public static ReqTaxEnabled get() {
|
||||
return i;
|
||||
|
@@ -21,7 +21,7 @@ public class TypeFaction extends TypeAbstract<Faction> {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeFaction i = new TypeFaction();
|
||||
private static final TypeFaction i = new TypeFaction();
|
||||
|
||||
public static TypeFaction get() {
|
||||
return i;
|
||||
|
@@ -8,7 +8,7 @@ public class TypeFactionChunkChangeType extends TypeEnum<EventFactionsChunkChang
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeFactionChunkChangeType i = new TypeFactionChunkChangeType();
|
||||
private static final TypeFactionChunkChangeType i = new TypeFactionChunkChangeType();
|
||||
|
||||
public static TypeFactionChunkChangeType get() {
|
||||
return i;
|
||||
|
@@ -5,7 +5,7 @@ public class TypeFactionNameLenient extends TypeFactionNameAbstract {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeFactionNameLenient i = new TypeFactionNameLenient();
|
||||
private static final TypeFactionNameLenient i = new TypeFactionNameLenient();
|
||||
|
||||
public static TypeFactionNameLenient get() {
|
||||
return i;
|
||||
|
@@ -5,7 +5,7 @@ public class TypeFactionNameStrict extends TypeFactionNameAbstract {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeFactionNameStrict i = new TypeFactionNameStrict();
|
||||
private static final TypeFactionNameStrict i = new TypeFactionNameStrict();
|
||||
|
||||
public static TypeFactionNameStrict get() {
|
||||
return i;
|
||||
|
@@ -11,7 +11,7 @@ public class TypeMFlag extends TypeEntity<MFlag> {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeMFlag i = new TypeMFlag();
|
||||
private static final TypeMFlag i = new TypeMFlag();
|
||||
|
||||
public static TypeMFlag get() {
|
||||
return i;
|
||||
|
@@ -11,7 +11,7 @@ public class TypeMPerm extends TypeEntity<MPerm> {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeMPerm i = new TypeMPerm();
|
||||
private static final TypeMPerm i = new TypeMPerm();
|
||||
|
||||
public static TypeMPerm get() {
|
||||
return i;
|
||||
|
@@ -20,7 +20,7 @@ public class TypeMPermable extends TypeAbstract<MPerm.MPermable> {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeMPermable i = new TypeMPermable();
|
||||
private static final TypeMPermable i = new TypeMPermable();
|
||||
|
||||
public static TypeMPermable get() {
|
||||
return i;
|
||||
|
@@ -15,7 +15,7 @@ public class TypeRank extends TypeEntityInternalFaction<Rank> {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeRank i = new TypeRank();
|
||||
private static final TypeRank i = new TypeRank();
|
||||
|
||||
public static TypeRank get() {
|
||||
return i;
|
||||
|
@@ -10,7 +10,7 @@ public class TypeRel extends TypeEnum<Rel> {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeRel i = new TypeRel();
|
||||
private static final TypeRel i = new TypeRel();
|
||||
|
||||
public static TypeRel get() {
|
||||
return i;
|
||||
|
@@ -7,7 +7,7 @@ public class TypeRelation extends TypeRel {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeRelation i = new TypeRelation();
|
||||
private static final TypeRelation i = new TypeRelation();
|
||||
|
||||
public static TypeRelation get() {
|
||||
return i;
|
||||
|
@@ -13,7 +13,7 @@ public class TypeSortMPlayer extends TypeAbstractChoice<Comparator<MPlayer>> {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeSortMPlayer i = new TypeSortMPlayer();
|
||||
private static final TypeSortMPlayer i = new TypeSortMPlayer();
|
||||
|
||||
public static TypeSortMPlayer get() {
|
||||
return i;
|
||||
|
@@ -19,7 +19,7 @@ public class TypeTaxable extends TypeAbstract<String> {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeTaxable i = new TypeTaxable();
|
||||
private static final TypeTaxable i = new TypeTaxable();
|
||||
|
||||
public static TypeTaxable get() {
|
||||
return i;
|
||||
|
@@ -10,7 +10,7 @@ public class TypeVote extends TypeEntityInternalFaction<Vote> {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeVote i = new TypeVote();
|
||||
private static final TypeVote i = new TypeVote();
|
||||
|
||||
public static TypeVote get() {
|
||||
return i;
|
||||
|
@@ -10,7 +10,7 @@ public class TypeWarp extends TypeEntityInternalFaction<Warp> {
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TypeWarp i = new TypeWarp();
|
||||
private static final TypeWarp i = new TypeWarp();
|
||||
|
||||
public static TypeWarp get() {
|
||||
return i;
|
||||
|
Reference in New Issue
Block a user