Bukkit/Bukkit — pull request #517 by t3hk0d3 (2012-02-13 10:51:29+00:00)
Title: Improved FileConfiguration and fixed unit tests

Replaced String buffer (loadFromString/writeToString), which are not memory wise, with Reader/Writer (load(Reader) / write(Writer)).

Also fixed falsificated unit tests: output are not matched to input.

Example:

config = YamlConfiguration.loadFromString(header + values);
....
assertEqual(header + "\n" + values, config.saveToString());

Kinda wrong, huh?
Take attention on extra newline character