12 Commits

Author SHA1 Message Date
Wesley Wolfe
ca7aab6f4f [Bleeding] Cleaned up unsafe casts. Addresses BUKKIT-844
Removed internal collection leaks from PluginDescriptionFile
BREAKING: PluginDescriptionFile.getAuthors() now returns List instead of
ArrayList

Various places with unsafe generics, notably List<Object> getList() in
Configurations are now referenced as <?>. This is nonbreaking, but
sourcecode will need to be revised when compiled.
2012-02-29 10:23:16 -05:00
Wesley Wolfe
332e8cad5d [Bleeding] Exception cleanup. Addresses BUKKIT-774 2012-02-18 23:55:35 -05:00
Erik Broes
e542942d45 Minor cleanup 2012-01-17 19:51:27 +01:00
Erik Broes
88c17a7f86 Generic cleaning 2012-01-15 14:37:43 +01:00
Nathan Adams
ea3e91b416 Configurations now properly support lists of serializable objects, and ItemStack is properly serializable. Big thanks to GICodeWarrior for the PR. This fixes BUKKIT-425 2012-01-15 11:15:58 +00:00
Nathan Adams
7f37ce3dc1 Fixed YamlConfiguration creating empty lines when reading a file with no contents, and made it trim the initial newlines of any existing config header 2012-01-08 23:32:36 +00:00
Erik Broes
b9fca3c04d Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01:00
Nathan Adams
bfa45985c5 Fixed issues with loading YamlConfigurations with typed keys 2011-10-26 06:56:36 +01:00
Nathan Adams
5993f1cc16 Added new FileConfigurationOptions.copyHeader, defaulting to true. Copies the header from default config, if there is one. 2011-10-12 13:24:57 +01:00
Nathan Adams
db7bdbbd58 Loading a FileConfiguration (Yaml/) should remember the previously saved header 2011-10-12 05:03:47 +01:00
Nathan Adams
5703334ac8 YamlConfiguration now correctly writes extra blank lines at the end if requested 2011-10-12 04:39:22 +01:00
Dinnerbone
ee27cc07f0 Added new Configuration classes 2011-10-10 21:06:34 +01:00