Fixed another bunch of CheckStyle-warnings (VisibilityModifierCheck)

This time because of default visibility instead of private.

We need a better way for these global config variables in MultiverseCore.java
This commit is contained in:
main() 2011-12-12 16:45:54 +01:00
parent 1bdca7e615
commit 86cfa9d98f
7 changed files with 11 additions and 12 deletions

View File

@ -15,7 +15,7 @@ import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.util.Vector; import org.bukkit.util.Vector;
public class PlayerDestination implements MVDestination { public class PlayerDestination implements MVDestination {
String player; private String player;
private boolean isValid; private boolean isValid;
private JavaPlugin plugin; private JavaPlugin plugin;

View File

@ -19,8 +19,8 @@ import org.bukkit.util.Vector;
public class WorldDestination implements MVDestination { public class WorldDestination implements MVDestination {
private boolean isValid; private boolean isValid;
private MultiverseWorld world; private MultiverseWorld world;
float yaw = -1; private float yaw = -1;
String direction = ""; private String direction = "";
@Override @Override
public String getIdentifier() { public String getIdentifier() {

View File

@ -32,9 +32,9 @@ import org.bukkit.event.player.PlayerTeleportEvent;
import java.util.logging.Level; import java.util.logging.Level;
public class MVPlayerListener extends PlayerListener { public class MVPlayerListener extends PlayerListener {
MultiverseCore plugin; private MultiverseCore plugin;
SafeTTeleporter mvteleporter; private SafeTTeleporter mvteleporter;
MVWorldManager worldManager; private MVWorldManager worldManager;
private PermissionTools pt; private PermissionTools pt;

View File

@ -18,7 +18,7 @@ import java.util.logging.Level;
public class MVPluginListener extends ServerListener { public class MVPluginListener extends ServerListener {
MultiverseCore plugin; private MultiverseCore plugin;
public MVPluginListener(MultiverseCore plugin) { public MVPluginListener(MultiverseCore plugin) {
this.plugin = plugin; this.plugin = plugin;

View File

@ -26,7 +26,7 @@ import java.util.logging.Level;
public class PurgeWorlds { public class PurgeWorlds {
MultiverseCore plugin; private MultiverseCore plugin;
public PurgeWorlds(MultiverseCore plugin) { public PurgeWorlds(MultiverseCore plugin) {
this.plugin = plugin; this.plugin = plugin;

View File

@ -26,9 +26,8 @@ import java.util.logging.Level;
public class SafeTTeleporter { public class SafeTTeleporter {
MultiverseCore plugin; private MultiverseCore plugin;
private BlockSafety bs;
BlockSafety bs;
public SafeTTeleporter(MultiverseCore plugin) { public SafeTTeleporter(MultiverseCore plugin) {
this.plugin = plugin; this.plugin = plugin;

View File

@ -22,7 +22,7 @@ public class UpdateChecker {
public static final Logger log = Logger.getLogger("Minecraft"); public static final Logger log = Logger.getLogger("Minecraft");
public Timer timer = new Timer(); // Create a new Timer. private Timer timer = new Timer(); // Create a new Timer.
private String name; // Hold the Plugins Name. private String name; // Hold the Plugins Name.
private String cversion; // Hold the Plugins Current Version. private String cversion; // Hold the Plugins Current Version.