From 17ba0d4d000cdc05b6256e8b5c6002d7eb563586 Mon Sep 17 00:00:00 2001 From: zeeZ Date: Tue, 17 May 2011 02:43:25 +0200 Subject: [PATCH] Organize imports. --- src/main/java/org/dynmap/ColorScheme.java | 1 - src/main/java/org/dynmap/HeroChatHandler.java | 10 +++++----- src/main/java/org/dynmap/MapManager.java | 11 +---------- src/main/java/org/dynmap/flat/FlatMap.java | 2 +- .../java/org/dynmap/kzedmap/CaveTileRenderer.java | 2 +- .../java/org/dynmap/kzedmap/DefaultTileRenderer.java | 4 +--- .../org/dynmap/kzedmap/HighlightTileRenderer.java | 2 +- 7 files changed, 10 insertions(+), 22 deletions(-) diff --git a/src/main/java/org/dynmap/ColorScheme.java b/src/main/java/org/dynmap/ColorScheme.java index 64380681..dc32a1ae 100644 --- a/src/main/java/org/dynmap/ColorScheme.java +++ b/src/main/java/org/dynmap/ColorScheme.java @@ -1,6 +1,5 @@ package org.dynmap; -import org.dynmap.Color; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; diff --git a/src/main/java/org/dynmap/HeroChatHandler.java b/src/main/java/org/dynmap/HeroChatHandler.java index 78648d51..e764e091 100644 --- a/src/main/java/org/dynmap/HeroChatHandler.java +++ b/src/main/java/org/dynmap/HeroChatHandler.java @@ -1,17 +1,17 @@ package org.dynmap; +import java.lang.reflect.Method; +import java.util.Collections; +import java.util.List; import java.util.logging.Logger; import org.bukkit.Server; import org.bukkit.event.CustomEventListener; -import org.bukkit.plugin.Plugin; -import org.bukkit.util.config.Configuration; import org.bukkit.event.Event; import org.bukkit.event.server.PluginEnableEvent; import org.bukkit.event.server.ServerListener; -import java.util.List; -import java.util.Collections; -import java.lang.reflect.Method; +import org.bukkit.plugin.Plugin; +import org.bukkit.util.config.Configuration; public class HeroChatHandler { protected static final Logger log = Logger.getLogger("Minecraft"); diff --git a/src/main/java/org/dynmap/MapManager.java b/src/main/java/org/dynmap/MapManager.java index 044c5a08..285e29b3 100644 --- a/src/main/java/org/dynmap/MapManager.java +++ b/src/main/java/org/dynmap/MapManager.java @@ -1,8 +1,6 @@ package org.dynmap; import java.io.File; -import java.io.IOException; -import java.awt.image.BufferedImage; import java.lang.reflect.Constructor; import java.util.ArrayList; import java.util.HashMap; @@ -12,21 +10,14 @@ import java.util.List; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; -import java.util.HashMap; -import javax.imageio.ImageIO; -import org.dynmap.kzedmap.KzedMapTile; +import org.bukkit.Chunk; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.entity.Entity; import org.bukkit.scheduler.BukkitScheduler; import org.bukkit.util.config.ConfigurationNode; -import org.dynmap.DynmapWorld; -import org.dynmap.MapTile; import org.dynmap.debug.Debug; -import org.dynmap.kzedmap.KzedMap; -import org.dynmap.kzedmap.KzedZoomedMapTile; -import org.bukkit.Chunk; public class MapManager { protected static final Logger log = Logger.getLogger("Minecraft"); diff --git a/src/main/java/org/dynmap/flat/FlatMap.java b/src/main/java/org/dynmap/flat/FlatMap.java index f509cef5..895c46be 100644 --- a/src/main/java/org/dynmap/flat/FlatMap.java +++ b/src/main/java/org/dynmap/flat/FlatMap.java @@ -1,6 +1,5 @@ package org.dynmap.flat; -import org.dynmap.Color; import java.awt.image.BufferedImage; import java.awt.image.WritableRaster; import java.io.File; @@ -13,6 +12,7 @@ import org.bukkit.Location; import org.bukkit.World; import org.bukkit.World.Environment; import org.dynmap.Client; +import org.dynmap.Color; import org.dynmap.ColorScheme; import org.dynmap.DynmapChunk; import org.dynmap.MapManager; diff --git a/src/main/java/org/dynmap/kzedmap/CaveTileRenderer.java b/src/main/java/org/dynmap/kzedmap/CaveTileRenderer.java index 142c4e86..80b3fdc1 100644 --- a/src/main/java/org/dynmap/kzedmap/CaveTileRenderer.java +++ b/src/main/java/org/dynmap/kzedmap/CaveTileRenderer.java @@ -1,9 +1,9 @@ package org.dynmap.kzedmap; -import org.dynmap.Color; import java.util.Map; import org.bukkit.World; +import org.dynmap.Color; public class CaveTileRenderer extends DefaultTileRenderer { diff --git a/src/main/java/org/dynmap/kzedmap/DefaultTileRenderer.java b/src/main/java/org/dynmap/kzedmap/DefaultTileRenderer.java index 3ad9e98f..da514443 100644 --- a/src/main/java/org/dynmap/kzedmap/DefaultTileRenderer.java +++ b/src/main/java/org/dynmap/kzedmap/DefaultTileRenderer.java @@ -1,6 +1,5 @@ package org.dynmap.kzedmap; -import org.dynmap.Color; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.image.BufferedImage; @@ -12,13 +11,12 @@ import java.util.Map; import javax.imageio.ImageIO; -import org.bukkit.Material; import org.bukkit.World; import org.bukkit.World.Environment; import org.dynmap.Client; +import org.dynmap.Color; import org.dynmap.ColorScheme; import org.dynmap.MapManager; -import org.dynmap.MapTile; import org.dynmap.debug.Debug; public class DefaultTileRenderer implements MapTileRenderer { diff --git a/src/main/java/org/dynmap/kzedmap/HighlightTileRenderer.java b/src/main/java/org/dynmap/kzedmap/HighlightTileRenderer.java index 30fa8db6..c4e9567e 100644 --- a/src/main/java/org/dynmap/kzedmap/HighlightTileRenderer.java +++ b/src/main/java/org/dynmap/kzedmap/HighlightTileRenderer.java @@ -1,11 +1,11 @@ package org.dynmap.kzedmap; -import org.dynmap.Color; import java.util.HashSet; import java.util.List; import java.util.Map; import org.bukkit.World; +import org.dynmap.Color; public class HighlightTileRenderer extends DefaultTileRenderer { protected HashSet highlightBlocks = new HashSet();