eclipse import order, whaterver

This commit is contained in:
Jascha Starke 2012-02-22 19:22:59 +01:00
parent b9de1f4f31
commit 145cd71689
8 changed files with 16 additions and 12 deletions

View file

@ -19,10 +19,9 @@ package de.jaschastarke.minecraft.integration;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import de.jaschastarke.minecraft.limitedcreative.Core;
import uk.org.whoami.authme.cache.auth.PlayerCache; import uk.org.whoami.authme.cache.auth.PlayerCache;
import uk.org.whoami.authme.cache.limbo.LimboCache; import uk.org.whoami.authme.cache.limbo.LimboCache;
import de.jaschastarke.minecraft.limitedcreative.Core;
public class AuthMe implements CommunicationBridge { public class AuthMe implements CommunicationBridge {
public static boolean isLoggedIn(Player player) { public static boolean isLoggedIn(Player player) {

View file

@ -17,6 +17,8 @@
*/ */
package de.jaschastarke.minecraft.limitedcreative; package de.jaschastarke.minecraft.limitedcreative;
import static de.jaschastarke.minecraft.utils.Locale.L;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
@ -29,7 +31,6 @@ import org.bukkit.entity.Player;
import de.jaschastarke.minecraft.utils.IPermission; import de.jaschastarke.minecraft.utils.IPermission;
import de.jaschastarke.minecraft.utils.Util; import de.jaschastarke.minecraft.utils.Util;
import static de.jaschastarke.minecraft.utils.Locale.L;
public class Commands { public class Commands {
private static Core plugin; private static Core plugin;

View file

@ -17,6 +17,9 @@
*/ */
package de.jaschastarke.minecraft.limitedcreative; package de.jaschastarke.minecraft.limitedcreative;
import static de.jaschastarke.minecraft.utils.Locale.L;
import static de.jaschastarke.minecraft.utils.Util.copyFile;
import java.io.File; import java.io.File;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
@ -28,9 +31,6 @@ import org.bukkit.configuration.file.FileConfiguration;
import de.jaschastarke.minecraft.limitedcreative.store.InvYamlStorage; import de.jaschastarke.minecraft.limitedcreative.store.InvYamlStorage;
import de.jaschastarke.minecraft.limitedcreative.store.PlayerInventoryStorage; import de.jaschastarke.minecraft.limitedcreative.store.PlayerInventoryStorage;
import static de.jaschastarke.minecraft.utils.Util.copyFile;
import static de.jaschastarke.minecraft.utils.Locale.L;
public class Configuration { public class Configuration {
private FileConfiguration c; private FileConfiguration c;
private File file; private File file;

View file

@ -16,13 +16,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package de.jaschastarke.minecraft.limitedcreative; package de.jaschastarke.minecraft.limitedcreative;
import static de.jaschastarke.minecraft.utils.Locale.L;
import java.util.logging.Logger; import java.util.logging.Logger;
import org.bukkit.event.HandlerList; import org.bukkit.event.HandlerList;
import org.bukkit.plugin.PluginDescriptionFile; import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
import static de.jaschastarke.minecraft.utils.Locale.L;
import de.jaschastarke.minecraft.integration.Communicator; import de.jaschastarke.minecraft.integration.Communicator;
import de.jaschastarke.minecraft.limitedcreative.listeners.LimitListener; import de.jaschastarke.minecraft.limitedcreative.listeners.LimitListener;
import de.jaschastarke.minecraft.limitedcreative.listeners.MainListener; import de.jaschastarke.minecraft.limitedcreative.listeners.MainListener;

View file

@ -17,6 +17,8 @@
*/ */
package de.jaschastarke.minecraft.limitedcreative; package de.jaschastarke.minecraft.limitedcreative;
import static de.jaschastarke.minecraft.utils.Locale.L;
import org.bukkit.ChatColor; import org.bukkit.ChatColor;
import org.bukkit.GameMode; import org.bukkit.GameMode;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
@ -24,7 +26,6 @@ import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory; import org.bukkit.inventory.PlayerInventory;
import de.jaschastarke.minecraft.limitedcreative.store.PlayerInventoryStorage; import de.jaschastarke.minecraft.limitedcreative.store.PlayerInventoryStorage;
import static de.jaschastarke.minecraft.utils.Locale.L;
public class Inventory { public class Inventory {
private static PlayerInventoryStorage storage = Core.plugin.config.getInvetoryStorage(); private static PlayerInventoryStorage storage = Core.plugin.config.getInvetoryStorage();

View file

@ -17,6 +17,8 @@
*/ */
package de.jaschastarke.minecraft.limitedcreative; package de.jaschastarke.minecraft.limitedcreative;
import static de.jaschastarke.minecraft.utils.Locale.L;
import java.util.HashMap; import java.util.HashMap;
import java.util.Iterator; import java.util.Iterator;
import java.util.Map; import java.util.Map;
@ -42,7 +44,6 @@ import org.bukkit.material.Lever;
import de.jaschastarke.minecraft.utils.IPermission; import de.jaschastarke.minecraft.utils.IPermission;
import de.jaschastarke.minecraft.worldguard.events.PlayerChangedAreaEvent; import de.jaschastarke.minecraft.worldguard.events.PlayerChangedAreaEvent;
import static de.jaschastarke.minecraft.utils.Locale.L;
public class LCPlayer { public class LCPlayer {
private static Core plugin = Core.plugin; private static Core plugin = Core.plugin;

View file

@ -17,6 +17,8 @@
*/ */
package de.jaschastarke.minecraft.limitedcreative.listeners; package de.jaschastarke.minecraft.limitedcreative.listeners;
import static de.jaschastarke.minecraft.utils.Locale.L;
import org.bukkit.GameMode; import org.bukkit.GameMode;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.block.Block; import org.bukkit.block.Block;
@ -46,11 +48,10 @@ import org.bukkit.material.Button;
import org.bukkit.material.Lever; import org.bukkit.material.Lever;
import de.jaschastarke.minecraft.limitedcreative.BlackList; import de.jaschastarke.minecraft.limitedcreative.BlackList;
import de.jaschastarke.minecraft.limitedcreative.LCPlayer;
import de.jaschastarke.minecraft.limitedcreative.Core; import de.jaschastarke.minecraft.limitedcreative.Core;
import de.jaschastarke.minecraft.limitedcreative.LCPlayer;
import de.jaschastarke.minecraft.limitedcreative.Perms; import de.jaschastarke.minecraft.limitedcreative.Perms;
import de.jaschastarke.minecraft.limitedcreative.Players; import de.jaschastarke.minecraft.limitedcreative.Players;
import static de.jaschastarke.minecraft.utils.Locale.L;
public class LimitListener implements Listener { public class LimitListener implements Listener {
private Core plugin; private Core plugin;

View file

@ -16,8 +16,8 @@ import org.bukkit.event.block.BlockPlaceEvent;
import org.bukkit.event.entity.ItemSpawnEvent; import org.bukkit.event.entity.ItemSpawnEvent;
import org.bukkit.event.player.PlayerJoinEvent; import org.bukkit.event.player.PlayerJoinEvent;
import de.jaschastarke.minecraft.limitedcreative.LCPlayer;
import de.jaschastarke.minecraft.limitedcreative.Core; import de.jaschastarke.minecraft.limitedcreative.Core;
import de.jaschastarke.minecraft.limitedcreative.LCPlayer;
import de.jaschastarke.minecraft.limitedcreative.Players; import de.jaschastarke.minecraft.limitedcreative.Players;
import de.jaschastarke.minecraft.utils.Util; import de.jaschastarke.minecraft.utils.Util;
import de.jaschastarke.minecraft.worldguard.ApplicableRegions; import de.jaschastarke.minecraft.worldguard.ApplicableRegions;