Commit Graph

17 Commits

Author SHA1 Message Date
Minoneer
6b7046c8b7 Fixes lookup of default configuration values for nested paths (#2322)
The lookup of default configuration values with multiple path segments failed with a class cast exception because the full path was treated as a new configuration section instead of only the root.
2018-01-08 09:19:17 +11:00
md_5
98e3c70460 Implicitly convert Map to Configuration 2016-08-25 11:04:19 +10:00
md_5
6563a9241b #1936: Configuration#contains(Ljava/lang/String;)Z 2016-08-21 09:10:23 +10:00
md_5
11c7b246e0 #1938: Better handling of null config keys 2016-08-18 09:35:58 +10:00
md_5
37b3cb4a30 #1934: Better in memory config representation 2016-08-15 18:41:52 +10:00
md_5
80b3135a93 Fix formatting 2016-04-24 22:31:04 +10:00
md_5
61cee2d27c Fix formatting in a bunch of files. 2015-02-14 18:36:58 +11:00
Minecrell
faf903469e Add methods to load configurations with defaults.
Add Configuration constructor for empty configurations.

Use defaults for the Configuration object getter.
2014-10-17 20:37:59 +11:00
md_5
21be93a1b1 [#1094] Remove config values set to null, add unit test for such behaviour. 2014-07-01 13:40:17 +10:00
md_5
b9f2f3cfae Add a getKeys method to the Configuration API 2014-06-24 16:59:15 +10:00
md_5
dc2da29c16 Code format. 2014-04-13 14:15:41 +10:00
Maciej Mionskowski
f2b0e3e3c3 Fixed config saving and value setting. Probably fixes #798 2014-03-11 15:21:31 +11:00
md_5
0a5f8556fe Add config saving 2013-09-24 12:14:47 +10:00
md_5
103a509f26 Fix access of yaml config 2013-09-24 12:11:04 +10:00
md_5
a8b6a6b4aa Finish basic Yaml configuration API, complete with unit tests. Needs a lot of work with regards to how sections are handled, open to massive improvements from anyone that has more know-how. 2013-09-23 10:28:30 +10:00
md_5
e937dcb4bb Add uncommited config stuffs, just to get a clean working tree. 2013-03-07 18:17:49 +11:00
md_5
73ca237810 Add sneak peek of upcoming config API. This will need to be throughly unit tested. 2013-03-02 20:01:33 +11:00