diff --git a/README.md b/README.md index 3bbdbc9f..06ddf174 100644 --- a/README.md +++ b/README.md @@ -50,9 +50,9 @@ and warrant that you have the legal authority to do so. ## API Example ConfigRoot root = Config.load("myapp") - int a = conf.getInt("foo.bar") - ConfigObject obj = conf.getObject("foo") - int b = obj.getInt("bar") + int bar1 = conf.getInt("foo.bar") + Config foo = conf.getConfig("foo") + int bar2 = obj.getInt("bar") ## Standard behavior