README code example fix

This commit is contained in:
Havoc Pennington 2011-11-30 11:18:46 -05:00
parent 2abd5ad09c
commit 0ff5f1ff8c

View File

@ -56,7 +56,7 @@ and warrant that you have the legal authority to do so.
Config conf = ConfigFactory.load();
int bar1 = conf.getInt("foo.bar");
Config foo = conf.getConfig("foo");
int bar2 = obj.getInt("bar");
int bar2 = foo.getInt("bar");
## Longer Examples