From 9922c69d697ad53366f2a28620835b4481e0535e Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Tue, 11 Jan 2011 23:11:10 +0100 Subject: [PATCH] Small whitespace/warning sanitation --- src/main/java/org/bukkit/craftbukkit/CraftEntity.java | 2 -- src/main/java/org/bukkit/craftbukkit/CraftInventoryPlayer.java | 1 - src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 +- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 1 - src/main/java/org/bukkit/craftbukkit/Main.java | 1 - 5 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/CraftEntity.java index d9ac3190e9..4e62fc0ab0 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftEntity.java @@ -1,11 +1,9 @@ - package org.bukkit.craftbukkit; import net.minecraft.server.Entity; import net.minecraft.server.WorldServer; import org.bukkit.Location; import org.bukkit.Vector; -import org.bukkit.Vehicle; import org.bukkit.World; public abstract class CraftEntity implements org.bukkit.Entity { diff --git a/src/main/java/org/bukkit/craftbukkit/CraftInventoryPlayer.java b/src/main/java/org/bukkit/craftbukkit/CraftInventoryPlayer.java index df36affa78..f8d74c94bb 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftInventoryPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftInventoryPlayer.java @@ -1,6 +1,5 @@ package org.bukkit.craftbukkit; -import java.util.ArrayList; import net.minecraft.server.InventoryPlayer; import org.bukkit.ItemStack; diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 2444070d65..c60118ceda 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -34,7 +34,7 @@ public final class CraftServer implements Server { if (pluginFolder.exists()) { try { - Plugin[] plugins = plugins = pluginManager.loadPlugins(pluginFolder); + Plugin[] plugins = pluginManager.loadPlugins(pluginFolder); for (Plugin plugin : plugins) { pluginManager.enablePlugin(plugin); diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 28deed207c..66f28647d0 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -1,4 +1,3 @@ - package org.bukkit.craftbukkit; import java.util.HashMap; diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java index db33837468..2d75096f76 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/src/main/java/org/bukkit/craftbukkit/Main.java @@ -1,4 +1,3 @@ - package org.bukkit.craftbukkit; import java.io.File;