diff --git a/src/BlacklistEntry.java b/src/BlacklistEntry.java
index 45c229b4..7215af72 100644
--- a/src/BlacklistEntry.java
+++ b/src/BlacklistEntry.java
@@ -17,8 +17,6 @@
* along with this program. If not, see .
*/
-import java.util.logging.Logger;
-import java.util.logging.Level;
import java.util.Set;
import java.util.HashSet;
import java.util.Map;
diff --git a/src/FileLoggerHandler.java b/src/FileLoggerHandler.java
index 9138ca86..6f31d857 100644
--- a/src/FileLoggerHandler.java
+++ b/src/FileLoggerHandler.java
@@ -93,8 +93,7 @@ public FileLoggerHandler(String pathPattern, int cacheSize) {
private String buildPath(String playerName) {
GregorianCalendar calendar = new GregorianCalendar();
- Pattern p = Pattern.compile("%.");
- Matcher m = p.matcher(pathPattern);
+ Matcher m = pattern.matcher(pathPattern);
StringBuffer buffer = new StringBuffer();
// Pattern replacements
diff --git a/src/LoggerToChatHandler.java b/src/LoggerToChatHandler.java
index b25c0874..38116dcf 100644
--- a/src/LoggerToChatHandler.java
+++ b/src/LoggerToChatHandler.java
@@ -17,8 +17,6 @@
* along with this program. If not, see .
*/
-import java.util.logging.Logger;
-import java.util.logging.Level;
import java.util.logging.Handler;
import java.util.logging.LogRecord;
diff --git a/src/WorldGuard.java b/src/WorldGuard.java
index 296906d3..e78736fb 100644
--- a/src/WorldGuard.java
+++ b/src/WorldGuard.java
@@ -25,7 +25,6 @@
import java.util.ArrayList;
import java.net.URL;
import java.io.*;
-import java.lang.reflect.*;
/**
* Entry point for the plugin for hey0's mod.
@@ -54,8 +53,6 @@ public WorldGuard() {
*/
@Override
public void initialize() {
- PluginLoader loader = etc.getLoader();
-
List missingFeatures = new ArrayList();
registerHook("COMMAND", PluginListener.Priority.MEDIUM);
diff --git a/src/WorldGuardListener.java b/src/WorldGuardListener.java
index 5cdbe24e..173051ae 100644
--- a/src/WorldGuardListener.java
+++ b/src/WorldGuardListener.java
@@ -17,15 +17,12 @@
* along with this program. If not, see .
*/
-import java.util.Timer;
-import java.util.TimerTask;
import java.util.logging.Logger;
import java.util.logging.Level;
import java.util.Set;
import java.util.HashSet;
import java.util.Map;
import java.util.HashMap;
-import java.util.Random;
import java.io.*;
import com.sk89q.worldedit.blocks.BlockType;
@@ -39,19 +36,7 @@ public class WorldGuardListener extends PluginListener {
* Logger.
*/
private static final Logger logger = Logger.getLogger("Minecraft.WorldGuard");
- /**
- * Timer for threading.
- */
- private static final Timer timer = new Timer();
- /**
- * Random number generator.
- */
- private static Random rand = new Random();
- /**
- * Plugin host.
- */
- private WorldGuard plugin;
/**
* Properties file for WorldGuard.
*/
@@ -109,7 +94,6 @@ public class WorldGuardListener extends PluginListener {
* @param plugin
*/
public WorldGuardListener(WorldGuard plugin) {
- this.plugin = plugin;
postReload();
}