Wesley Wolfe
6d03f7a638
Pulling all pending Bukkit-JavaDoc changes
2013-09-10 21:02:53 -05:00
Wesley Wolfe
1d8e53cc2c
Relax generic types for ConfigurationSerialization
...
The method signatures are unnecessarily strict for the generic signatures.
This change may cause a compile-time error for extending classes overriding
methods, but no byte signature or compile time call signatures change.
2013-08-06 18:19:15 -05:00
Edmond Poon
409595c2a2
Pulling all pending Bukkit-JavaDoc changes
2013-04-02 00:11:22 -04:00
Wesley Wolfe
0b494f8896
Pulling all pending Bukkit-JavaDoc changes
2013-02-22 22:49:38 -06:00
feildmaster
bbc75c4a68
Improve javadoc in 26 files.
...
Addresses:
BUKKIT-1643, BUKKIT-1868, BUKKIT-1846, BUKKIT-2632, BUKKIT-3196,
BUKKIT-3187, BUKKIT-3198, BUKKIT-3200, BUKKIT-3201 and BUKKIT-3417.
2013-01-22 16:41:00 -06:00
Wesley Wolfe
b119513428
Add FireworkEffect and respective item metas. Adds BUKKIT-3236
...
FireworkEffect is an immutable class that requires the builder pattern
to construct, to reduce ambiguity and help make code uses more readable.
FireworkMeta contains a list of effects, as well as a flight height.
FireworkEffectMeta contains a single effect for charges.
2012-12-21 10:36:07 -06:00
Wesley Wolfe
a06f7b1b86
Add ItemMeta factory and interfaces. This adds BUKKIT-15
...
Included with ItemMeta is a new serializable class Color.
PotionEffects are now serializable.
2012-12-17 01:16:28 -06:00
Wesley Wolfe
6d09f52afd
Check for non-existent class alias; Fixes BUKKIT-1780
2012-06-09 15:58:53 -05:00
feildmaster
537138e9b2
Javadoc updates
...
Fixes BUKKIT-1653, Fixes BUKKIT-1383 and Fixes BUKKIT-1644
2012-06-03 05:40:54 -05:00
Wesley Wolfe
ae518078eb
Making MemorySection much more efficient; Addresses BUKKIT-1454
2012-04-30 16:54:00 -05:00
feildmaster
3c1ba91f77
Fix createSection getting sections from itself. Fixes BUKKIT-1513
2012-04-14 00:59:22 -05:00
Celtic Minstrel
18a4a25c8b
Adding/expanding documentation
2012-02-29 21:31:33 -05:00
Celtic Minstrel
17403d617a
Fix javadoc errors/warnings
2012-02-29 21:31:28 -05:00
Kevin
29fb7d9d88
Fixed null pointer exception in config.getMapList().
2012-02-29 13:26:26 -05:00
Wesley Wolfe
7db0e50da7
[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
a294e9c246
[Bleeding] Exception cleanup. Addresses BUKKIT-774
2012-02-18 23:55:35 -05:00
Wesley Wolfe
f8804423bf
[Bleeding] Skip InvocationTargetException. Addresses BUKKIT-774
2012-02-18 23:54:57 -05:00
Erik Broes
0062c83d81
Minor cleanup
2012-01-17 19:51:27 +01:00
Erik Broes
eb9dc64493
Generic cleaning
2012-01-15 14:37:43 +01:00
Nathan Adams
0023c705eb
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
ab69fdd29f
Config .get*List will return an empty list of the appropriate type instead of null when the value does not exist. Thanks to krinsdeath for the PR.
2012-01-15 09:04:08 +00:00
Nathan Adams
b9d901a305
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
7235331440
Minor text changes
2012-01-04 09:09:25 +01:00
Erik Broes
dce83b6ce4
Generic cleanup of warnings, whitespace and style.
2011-12-25 16:02:30 +01:00
sleak
b1ae565f45
Fix for BUKKIT-313 - this makes getString return a string representation of whatever object is present at the path, rather than only returning if the object is a string
2011-12-19 16:13:07 +00:00
sleak
063414dda6
fix for BUKKIT-342 - getConfigurationSection returning the default section instead of creating a new section if defaults are present.
2011-12-19 16:13:07 +00:00
Nathan Adams
1927e22e33
Configuration methods .getX (int/double/etc) now try to cast existing values where possible. This fixes BUKKIT-290
2011-12-12 18:34:26 +00:00
Nathan Adams
f0f8169161
Fixed MemorySection list methods' return types + NPEs. This fixes BUKKIT-213, thanks to Sleaker
2011-12-09 15:50:20 +00:00
Feildmaster
95b487d274
Added createSection(String path, Map<String, object> map)
2011-11-05 20:33:28 +00:00
Nathan Adams
d41d207265
Added helper methods such as getStringList to ConfigurationSection
2011-10-26 09:47:51 +01:00
Nathan Adams
8c07d9148d
Fixed issues with loading YamlConfigurations with typed keys
2011-10-26 06:56:36 +01:00
Nathan Adams
98633dfddf
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
ab46572125
Loading a FileConfiguration (Yaml/) should remember the previously saved header
2011-10-12 05:03:47 +01:00
Nathan Adams
190bd31ef3
YamlConfiguration now correctly writes extra blank lines at the end if requested
2011-10-12 04:39:22 +01:00
Nathan Adams
89187a3e36
Fixed deeply nested configuration sections retrieving values
2011-10-11 13:26:41 +01:00
Nathan Adams
dc4ae80cfe
Fixed removing entries in the new Configuration (via set(x, null))
2011-10-11 12:16:43 +01:00
Nathan Adams
14d3401121
Small javadoc cleanup
2011-10-10 21:58:44 +01:00
Dinnerbone
55f405f4a8
Added new Configuration classes
2011-10-10 21:06:34 +01:00