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;
public class PlayerDestination implements MVDestination {
String player;
private String player;
private boolean isValid;
private JavaPlugin plugin;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -22,7 +22,7 @@ public class UpdateChecker {
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 cversion; // Hold the Plugins Current Version.