From 145cd71689257a6aeffe1f820b1e9e8b0287154d Mon Sep 17 00:00:00 2001 From: Jascha Starke Date: Wed, 22 Feb 2012 19:22:59 +0100 Subject: [PATCH] eclipse import order, whaterver --- src/de/jaschastarke/minecraft/integration/AuthMe.java | 3 +-- src/de/jaschastarke/minecraft/limitedcreative/Commands.java | 3 ++- .../minecraft/limitedcreative/Configuration.java | 6 +++--- src/de/jaschastarke/minecraft/limitedcreative/Core.java | 3 ++- .../jaschastarke/minecraft/limitedcreative/Inventory.java | 3 ++- src/de/jaschastarke/minecraft/limitedcreative/LCPlayer.java | 3 ++- .../minecraft/limitedcreative/listeners/LimitListener.java | 5 +++-- .../minecraft/limitedcreative/regions/RegionListener.java | 2 +- 8 files changed, 16 insertions(+), 12 deletions(-) diff --git a/src/de/jaschastarke/minecraft/integration/AuthMe.java b/src/de/jaschastarke/minecraft/integration/AuthMe.java index 071d2fa..4b46a93 100644 --- a/src/de/jaschastarke/minecraft/integration/AuthMe.java +++ b/src/de/jaschastarke/minecraft/integration/AuthMe.java @@ -19,10 +19,9 @@ package de.jaschastarke.minecraft.integration; 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.limbo.LimboCache; +import de.jaschastarke.minecraft.limitedcreative.Core; public class AuthMe implements CommunicationBridge { public static boolean isLoggedIn(Player player) { diff --git a/src/de/jaschastarke/minecraft/limitedcreative/Commands.java b/src/de/jaschastarke/minecraft/limitedcreative/Commands.java index 2bac294..1b42a6b 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/Commands.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/Commands.java @@ -17,6 +17,8 @@ */ package de.jaschastarke.minecraft.limitedcreative; +import static de.jaschastarke.minecraft.utils.Locale.L; + import java.util.Arrays; import java.util.List; @@ -29,7 +31,6 @@ import org.bukkit.entity.Player; import de.jaschastarke.minecraft.utils.IPermission; import de.jaschastarke.minecraft.utils.Util; -import static de.jaschastarke.minecraft.utils.Locale.L; public class Commands { private static Core plugin; diff --git a/src/de/jaschastarke/minecraft/limitedcreative/Configuration.java b/src/de/jaschastarke/minecraft/limitedcreative/Configuration.java index aa50a38..4800131 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/Configuration.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/Configuration.java @@ -17,6 +17,9 @@ */ 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.util.ArrayList; 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.PlayerInventoryStorage; -import static de.jaschastarke.minecraft.utils.Util.copyFile; -import static de.jaschastarke.minecraft.utils.Locale.L; - public class Configuration { private FileConfiguration c; private File file; diff --git a/src/de/jaschastarke/minecraft/limitedcreative/Core.java b/src/de/jaschastarke/minecraft/limitedcreative/Core.java index a9724f4..b3851e8 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/Core.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/Core.java @@ -16,13 +16,14 @@ * along with this program. If not, see . */ package de.jaschastarke.minecraft.limitedcreative; +import static de.jaschastarke.minecraft.utils.Locale.L; + import java.util.logging.Logger; import org.bukkit.event.HandlerList; import org.bukkit.plugin.PluginDescriptionFile; import org.bukkit.plugin.java.JavaPlugin; -import static de.jaschastarke.minecraft.utils.Locale.L; import de.jaschastarke.minecraft.integration.Communicator; import de.jaschastarke.minecraft.limitedcreative.listeners.LimitListener; import de.jaschastarke.minecraft.limitedcreative.listeners.MainListener; diff --git a/src/de/jaschastarke/minecraft/limitedcreative/Inventory.java b/src/de/jaschastarke/minecraft/limitedcreative/Inventory.java index 288f3b4..8860039 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/Inventory.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/Inventory.java @@ -17,6 +17,8 @@ */ package de.jaschastarke.minecraft.limitedcreative; +import static de.jaschastarke.minecraft.utils.Locale.L; + import org.bukkit.ChatColor; import org.bukkit.GameMode; import org.bukkit.entity.Player; @@ -24,7 +26,6 @@ import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.PlayerInventory; import de.jaschastarke.minecraft.limitedcreative.store.PlayerInventoryStorage; -import static de.jaschastarke.minecraft.utils.Locale.L; public class Inventory { private static PlayerInventoryStorage storage = Core.plugin.config.getInvetoryStorage(); diff --git a/src/de/jaschastarke/minecraft/limitedcreative/LCPlayer.java b/src/de/jaschastarke/minecraft/limitedcreative/LCPlayer.java index fb3582a..bf4fdf6 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/LCPlayer.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/LCPlayer.java @@ -17,6 +17,8 @@ */ package de.jaschastarke.minecraft.limitedcreative; +import static de.jaschastarke.minecraft.utils.Locale.L; + import java.util.HashMap; import java.util.Iterator; import java.util.Map; @@ -42,7 +44,6 @@ import org.bukkit.material.Lever; import de.jaschastarke.minecraft.utils.IPermission; import de.jaschastarke.minecraft.worldguard.events.PlayerChangedAreaEvent; -import static de.jaschastarke.minecraft.utils.Locale.L; public class LCPlayer { private static Core plugin = Core.plugin; diff --git a/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java b/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java index e9d9a3c..cd17000 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java @@ -17,6 +17,8 @@ */ package de.jaschastarke.minecraft.limitedcreative.listeners; +import static de.jaschastarke.minecraft.utils.Locale.L; + import org.bukkit.GameMode; import org.bukkit.Material; import org.bukkit.block.Block; @@ -46,11 +48,10 @@ import org.bukkit.material.Button; import org.bukkit.material.Lever; import de.jaschastarke.minecraft.limitedcreative.BlackList; -import de.jaschastarke.minecraft.limitedcreative.LCPlayer; import de.jaschastarke.minecraft.limitedcreative.Core; +import de.jaschastarke.minecraft.limitedcreative.LCPlayer; import de.jaschastarke.minecraft.limitedcreative.Perms; import de.jaschastarke.minecraft.limitedcreative.Players; -import static de.jaschastarke.minecraft.utils.Locale.L; public class LimitListener implements Listener { private Core plugin; diff --git a/src/de/jaschastarke/minecraft/limitedcreative/regions/RegionListener.java b/src/de/jaschastarke/minecraft/limitedcreative/regions/RegionListener.java index afdca6a..c11ef53 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/regions/RegionListener.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/regions/RegionListener.java @@ -16,8 +16,8 @@ import org.bukkit.event.block.BlockPlaceEvent; import org.bukkit.event.entity.ItemSpawnEvent; import org.bukkit.event.player.PlayerJoinEvent; -import de.jaschastarke.minecraft.limitedcreative.LCPlayer; import de.jaschastarke.minecraft.limitedcreative.Core; +import de.jaschastarke.minecraft.limitedcreative.LCPlayer; import de.jaschastarke.minecraft.limitedcreative.Players; import de.jaschastarke.minecraft.utils.Util; import de.jaschastarke.minecraft.worldguard.ApplicableRegions;