From 307d06455a2f2f489891b015f5488b114820032b Mon Sep 17 00:00:00 2001 From: Sleaker Date: Wed, 8 Feb 2012 14:26:00 -0800 Subject: [PATCH] names are final --- src/net/milkbowl/vault/chat/plugins/Chat_Permissions3.java | 2 +- src/net/milkbowl/vault/economy/plugins/Economy_3co.java | 2 +- src/net/milkbowl/vault/economy/plugins/Economy_BOSE6.java | 2 +- src/net/milkbowl/vault/economy/plugins/Economy_BOSE7.java | 2 +- .../milkbowl/vault/economy/plugins/Economy_Craftconomy.java | 2 +- src/net/milkbowl/vault/economy/plugins/Economy_EconXP.java | 2 +- .../milkbowl/vault/economy/plugins/Economy_Essentials.java | 2 +- .../milkbowl/vault/economy/plugins/Economy_MineConomy.java | 2 +- .../milkbowl/vault/economy/plugins/Economy_MultiCurrency.java | 2 +- src/net/milkbowl/vault/economy/plugins/Economy_eWallet.java | 2 +- src/net/milkbowl/vault/economy/plugins/Economy_iConomy4.java | 2 +- src/net/milkbowl/vault/economy/plugins/Economy_iConomy5.java | 2 +- src/net/milkbowl/vault/economy/plugins/Economy_iConomy6.java | 2 +- .../vault/permission/plugins/Permission_GroupManager.java | 2 +- .../vault/permission/plugins/Permission_Permissions3.java | 2 +- .../vault/permission/plugins/Permission_Starburst.java | 2 +- .../vault/permission/plugins/Permission_SuperPerms.java | 2 +- .../vault/permission/plugins/Permission_bPermissions.java | 2 +- .../vault/permission/plugins/Permission_bPermissions2.java | 2 +- .../vault/permission/plugins/Permission_zPermissions.java | 4 ++-- 20 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/net/milkbowl/vault/chat/plugins/Chat_Permissions3.java b/src/net/milkbowl/vault/chat/plugins/Chat_Permissions3.java index a12dfb8..0f9b237 100644 --- a/src/net/milkbowl/vault/chat/plugins/Chat_Permissions3.java +++ b/src/net/milkbowl/vault/chat/plugins/Chat_Permissions3.java @@ -19,7 +19,7 @@ import com.nijikokun.bukkit.Permissions.Permissions; public class Chat_Permissions3 extends Chat { private static final Logger log = Logger.getLogger("Minecraft"); - private String name = "Permissions 3 (Yeti) - Chat"; + private final String name = "Permissions 3 (Yeti) - Chat"; private PermissionHandler perms; private Plugin plugin = null; private Permissions chat = null; diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_3co.java b/src/net/milkbowl/vault/economy/plugins/Economy_3co.java index 39b42ec..5137896 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_3co.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_3co.java @@ -41,7 +41,7 @@ import org.bukkit.plugin.Plugin; public class Economy_3co implements Economy { private static final Logger log = Logger.getLogger("Minecraft"); - private String name = "3co"; + private final String name = "3co"; private Plugin plugin = null; private ECO economy = null; diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_BOSE6.java b/src/net/milkbowl/vault/economy/plugins/Economy_BOSE6.java index 08936bb..50da75d 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_BOSE6.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_BOSE6.java @@ -41,7 +41,7 @@ import cosine.boseconomy.BOSEconomy; public class Economy_BOSE6 implements Economy { private static final Logger log = Logger.getLogger("Minecraft"); - private String name = "BOSEconomy"; + private final String name = "BOSEconomy"; private Plugin plugin = null; private BOSEconomy economy = null; diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_BOSE7.java b/src/net/milkbowl/vault/economy/plugins/Economy_BOSE7.java index 7b413e5..42ceb86 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_BOSE7.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_BOSE7.java @@ -39,7 +39,7 @@ import cosine.boseconomy.BOSEconomy; public class Economy_BOSE7 implements Economy { private static final Logger log = Logger.getLogger("Minecraft"); - private String name = "BOSEconomy"; + private final String name = "BOSEconomy"; private Plugin plugin = null; private BOSEconomy economy = null; diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_Craftconomy.java b/src/net/milkbowl/vault/economy/plugins/Economy_Craftconomy.java index 1c6af68..3012a8f 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_Craftconomy.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_Craftconomy.java @@ -24,7 +24,7 @@ import org.bukkit.plugin.java.JavaPlugin; public class Economy_Craftconomy implements Economy { private static final Logger log = Logger.getLogger("Minecraft"); - private String name = "Craftconomy"; + private final String name = "Craftconomy"; private JavaPlugin plugin = null; protected Craftconomy economy = null; diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_EconXP.java b/src/net/milkbowl/vault/economy/plugins/Economy_EconXP.java index f0a6010..5d8450f 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_EconXP.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_EconXP.java @@ -22,7 +22,7 @@ import ca.agnate.EconXP.EconXP; public class Economy_EconXP implements Economy { private static final Logger log = Logger.getLogger("Minecraft"); - private String name = "EconXP"; + private final String name = "EconXP"; private Plugin plugin = null; private EconXP econ = null; diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_Essentials.java b/src/net/milkbowl/vault/economy/plugins/Economy_Essentials.java index 5a671ad..c0a2489 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_Essentials.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_Essentials.java @@ -42,7 +42,7 @@ import com.earth2me.essentials.api.UserDoesNotExistException; public class Economy_Essentials implements Economy { private static final Logger log = Logger.getLogger("Minecraft"); - private String name = "Essentials Economy"; + private final String name = "Essentials Economy"; private Plugin plugin = null; private Essentials ess = null; diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_MineConomy.java b/src/net/milkbowl/vault/economy/plugins/Economy_MineConomy.java index 0dbcf92..58490a5 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_MineConomy.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_MineConomy.java @@ -21,7 +21,7 @@ import org.bukkit.plugin.Plugin; public class Economy_MineConomy implements Economy { private static final Logger log = Logger.getLogger("Minecraft"); - private String name = "MineConomy"; + private final String name = "MineConomy"; private Plugin plugin = null; private MineConomy econ = null; diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_MultiCurrency.java b/src/net/milkbowl/vault/economy/plugins/Economy_MultiCurrency.java index 6fedb10..4d70d41 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_MultiCurrency.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_MultiCurrency.java @@ -40,7 +40,7 @@ import org.bukkit.plugin.Plugin; public class Economy_MultiCurrency implements Economy { private static final Logger log = Logger.getLogger("Minecraft"); - private String name = "MultiCurrency"; + private final String name = "MultiCurrency"; private Plugin plugin = null; private Currency economy = null; diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_eWallet.java b/src/net/milkbowl/vault/economy/plugins/Economy_eWallet.java index 661e9e7..c1d9813 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_eWallet.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_eWallet.java @@ -20,7 +20,7 @@ import org.bukkit.plugin.Plugin; public class Economy_eWallet implements Economy { private static final Logger log = Logger.getLogger("Minecraft"); - private String name = "eWallet"; + private final String name = "eWallet"; private Plugin plugin = null; private ECO econ = null; diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_iConomy4.java b/src/net/milkbowl/vault/economy/plugins/Economy_iConomy4.java index 92069f7..99b1227 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_iConomy4.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_iConomy4.java @@ -42,7 +42,7 @@ import com.nijiko.coelho.iConomy.system.Account; public class Economy_iConomy4 implements Economy { private static final Logger log = Logger.getLogger("Minecraft"); - private String name = "iConomy 4"; + private final String name = "iConomy 4"; private Plugin plugin = null; protected iConomy economy = null; diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_iConomy5.java b/src/net/milkbowl/vault/economy/plugins/Economy_iConomy5.java index 35f6190..1e0a6ea 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_iConomy5.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_iConomy5.java @@ -43,7 +43,7 @@ import com.iConomy.system.Holdings; public class Economy_iConomy5 implements Economy { private static final Logger log = Logger.getLogger("Minecraft"); - private String name = "iConomy 5"; + private final String name = "iConomy 5"; private JavaPlugin plugin = null; protected iConomy economy = null; diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_iConomy6.java b/src/net/milkbowl/vault/economy/plugins/Economy_iConomy6.java index 1709e84..908c855 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_iConomy6.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_iConomy6.java @@ -24,7 +24,7 @@ import com.iCo6.system.Holdings; public class Economy_iConomy6 implements Economy { private static final Logger log = Logger.getLogger("Minecraft"); - private String name = "iConomy 6"; + private final String name = "iConomy 6"; private JavaPlugin plugin = null; protected iConomy economy = null; private Accounts accounts; diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_GroupManager.java b/src/net/milkbowl/vault/permission/plugins/Permission_GroupManager.java index e1f365b..1e5ed25 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_GroupManager.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_GroupManager.java @@ -26,7 +26,7 @@ import org.bukkit.plugin.Plugin; public class Permission_GroupManager extends Permission { - private String name = "GroupManager"; + private final String name = "GroupManager"; private GroupManager groupManager; private AnjoPermissionsHandler perms; diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_Permissions3.java b/src/net/milkbowl/vault/permission/plugins/Permission_Permissions3.java index 6b2d010..1a64220 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_Permissions3.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_Permissions3.java @@ -43,7 +43,7 @@ import com.nijikokun.bukkit.Permissions.Permissions; public class Permission_Permissions3 extends Permission { - private String name = "Permissions3"; + private final String name = "Permissions3"; private ModularControl perms; private Permissions permission = null; diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_Starburst.java b/src/net/milkbowl/vault/permission/plugins/Permission_Starburst.java index d89a1b2..9967f53 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_Starburst.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_Starburst.java @@ -25,7 +25,7 @@ import com.dthielke.starburst.User; public class Permission_Starburst extends Permission { private StarburstPlugin perms; - private String name = "Starburst"; + private final String name = "Starburst"; public class PermissionServerListener implements Listener { diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_SuperPerms.java b/src/net/milkbowl/vault/permission/plugins/Permission_SuperPerms.java index 3be63ae..eea4ef1 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_SuperPerms.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_SuperPerms.java @@ -7,7 +7,7 @@ import net.milkbowl.vault.permission.Permission; public class Permission_SuperPerms extends Permission { - private String name = "SuperPerms"; + private final String name = "SuperPerms"; public Permission_SuperPerms(Vault plugin) { this.plugin = plugin; diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_bPermissions.java b/src/net/milkbowl/vault/permission/plugins/Permission_bPermissions.java index 0043615..76aac87 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_bPermissions.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_bPermissions.java @@ -20,7 +20,7 @@ import de.bananaco.permissions.worlds.WorldPermissionsManager; public class Permission_bPermissions extends Permission { - private String name = "bPermissions"; + private final String name = "bPermissions"; private WorldPermissionsManager perms; public Permission_bPermissions(Vault plugin) { diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_bPermissions2.java b/src/net/milkbowl/vault/permission/plugins/Permission_bPermissions2.java index 3688155..8cd1804 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_bPermissions2.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_bPermissions2.java @@ -22,7 +22,7 @@ import de.bananaco.bpermissions.api.util.CalculableType; public class Permission_bPermissions2 extends Permission { - private String name = "bPermissions2"; + private final String name = "bPermissions2"; private boolean hooked = false; public Permission_bPermissions2(Vault plugin) { diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_zPermissions.java b/src/net/milkbowl/vault/permission/plugins/Permission_zPermissions.java index 439e847..1bc05a3 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_zPermissions.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_zPermissions.java @@ -20,9 +20,9 @@ import org.tyrannyofheaven.bukkit.zPermissions.ZPermissionsPlugin; public class Permission_zPermissions extends Permission { - private static final String name = "zPermissions"; + private final String name = "zPermissions"; private ZPermissionsPlugin perms; - private ConsoleCommandSender ccs; + private final ConsoleCommandSender ccs; public Permission_zPermissions(Vault plugin) { this.plugin = plugin;