From 834c42025735e9db7044c3a2c66d162dc48dc4cf Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Sun, 25 Dec 2011 15:35:12 +0100 Subject: [PATCH] Update for cleanup in Bukkit --- pom.xml | 59 ++++++++++--------- .../org/bukkit/craftbukkit/CraftServer.java | 1 + 2 files changed, 31 insertions(+), 29 deletions(-) diff --git a/pom.xml b/pom.xml index 97769c03e5..2c87d43ed3 100644 --- a/pom.xml +++ b/pom.xml @@ -203,41 +203,42 @@ org.apache.maven.plugins maven-surefire-plugin + 2.11 ${basedir}/target/test-server - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - com.lukegb.mojo - - gitdescribe-maven-plugin - - [1.3,) - - gitdescribe - - - - - - - - - - - + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + com.lukegb.mojo + + gitdescribe-maven-plugin + + [1.3,) + + gitdescribe + + + + + + + + + + + diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 6e237be797..d07eb7c8f9 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -712,6 +712,7 @@ public final class CraftServer implements Server { return true; } + @SuppressWarnings("unchecked") public Map getCommandAliases() { ConfigurationSection section = configuration.getConfigurationSection("aliases"); Map result = new LinkedHashMap();