13
0
geforkt von Mirrors/Paper

Merge remote branch 'upstream/master'

By: durron597 <martin.jared@gmail.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2011-01-02 02:16:29 -05:00
Commit 2ba9a0b8c2

Datei anzeigen

@ -17,6 +17,7 @@ public final class PluginDescriptionFile {
private String name = null;
private String main = null;
@SuppressWarnings("unchecked")
public PluginDescriptionFile(final InputStream stream) throws InvalidDescriptionException {
try {
loadMap((Map<String, Object>)yaml.load(stream));
@ -29,10 +30,11 @@ public final class PluginDescriptionFile {
* Loads a PluginDescriptionFile from the specified reader
* @param reader
*/
@SuppressWarnings("unchecked")
public PluginDescriptionFile(final Reader reader) {
loadMap((Map<String, Object>)yaml.load(reader));
}
/**
* Creates a new PluginDescriptionFile with the given detailed
*