From 13362f46b452dff269b3693e95993a246db108c0 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Fri, 18 Nov 2011 16:14:34 -0500 Subject: [PATCH] fix the example API usage in the README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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