diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-10-10 21:39:27 +0100 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-10-10 21:39:27 +0100 |
commit | 8fd0cfc07fa1121fb5eb5e738702e7f446d06659 (patch) | |
tree | 2ad42826ffcbae99e2f066fdcaebf876a1b5cb30 | |
parent | dc7bf0ae7df6e49b92ddd4dbc5fb497a1eb54dda (diff) | |
download | bukkit-8fd0cfc07fa1121fb5eb5e738702e7f446d06659.tar bukkit-8fd0cfc07fa1121fb5eb5e738702e7f446d06659.tar.gz bukkit-8fd0cfc07fa1121fb5eb5e738702e7f446d06659.tar.lz bukkit-8fd0cfc07fa1121fb5eb5e738702e7f446d06659.tar.xz bukkit-8fd0cfc07fa1121fb5eb5e738702e7f446d06659.zip |
Updated snakeyaml to 1.9 (up from 1.7)
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | src/main/java/org/bukkit/plugin/PluginDescriptionFile.java | 3 | ||||
-rw-r--r-- | src/main/java/org/bukkit/plugin/java/JavaPlugin.java | 4 | ||||
-rw-r--r-- | src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java | 1 |
4 files changed, 1 insertions, 9 deletions
@@ -82,7 +82,7 @@ <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> - <version>1.7</version> + <version>1.9</version> <type>jar</type> <scope>compile</scope> </dependency> diff --git a/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java b/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java index 1e2e60c1..f3f864d8 100644 --- a/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java +++ b/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java @@ -7,9 +7,6 @@ import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -import java.util.Set; -import java.util.logging.Level; -import org.bukkit.Bukkit; import org.bukkit.permissions.Permission; import org.bukkit.permissions.PermissionDefault; import org.yaml.snakeyaml.Yaml; diff --git a/src/main/java/org/bukkit/plugin/java/JavaPlugin.java b/src/main/java/org/bukkit/plugin/java/JavaPlugin.java index 2645b83b..6eee36eb 100644 --- a/src/main/java/org/bukkit/plugin/java/JavaPlugin.java +++ b/src/main/java/org/bukkit/plugin/java/JavaPlugin.java @@ -7,19 +7,16 @@ import com.avaje.ebean.config.ServerConfig; import com.avaje.ebeaninternal.api.SpiEbeanServer; import com.avaje.ebeaninternal.server.ddl.DdlGenerator; import java.io.File; -import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; -import org.bukkit.Bukkit; import org.bukkit.Server; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.command.PluginCommand; -import org.bukkit.configuration.InvalidConfigurationException; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.generator.ChunkGenerator; @@ -27,7 +24,6 @@ import org.bukkit.plugin.Plugin; import org.bukkit.plugin.PluginDescriptionFile; import org.bukkit.plugin.PluginLoader; import org.bukkit.util.config.Configuration; -import org.yaml.snakeyaml.error.YAMLException; /** * Represents a Java plugin diff --git a/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java b/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java index bf9379bd..6ab27ecd 100644 --- a/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java +++ b/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java @@ -17,7 +17,6 @@ import java.util.regex.Pattern; import org.bukkit.Server; import org.bukkit.configuration.serialization.ConfigurationSerializable; import org.bukkit.configuration.serialization.ConfigurationSerialization; -import org.bukkit.configuration.serialization.SerializableAs; import org.bukkit.event.CustomEventListener; import org.bukkit.event.Event; import org.bukkit.event.Listener; |