Repository: incubator-juneau-website
Updated Branches:
  refs/heads/asf-site 62e848c2b -> 27ae51e26


Introduce ConfigFileBuilder class.

Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/commit/27ae51e2
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/27ae51e2
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/27ae51e2

Branch: refs/heads/asf-site
Commit: 27ae51e26258f9ae55746a7c3539b73d2edad434
Parents: 62e848c
Author: JamesBognar <[email protected]>
Authored: Wed Mar 29 20:37:39 2017 -0400
Committer: JamesBognar <[email protected]>
Committed: Wed Mar 29 20:37:39 2017 -0400

----------------------------------------------------------------------
 content/about.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/27ae51e2/content/about.html
----------------------------------------------------------------------
diff --git a/content/about.html b/content/about.html
index 016c862..dfc0148 100644
--- a/content/about.html
+++ b/content/about.html
@@ -895,7 +895,7 @@
                </p>
                <p class='bcode'>
        <jc>// Load our config file</jc>
-       ConfigFile f = 
ConfigMgr.<jsf>DEFAULT</jsf>.get(<js>"MyIniFile.cfg"</js>);
+       ConfigFile f = <jk>new</jk> 
ConfigFileBuilder().build(<js>"MyIniFile.cfg"</js>);
        
        <jk>int</jk> anInt = cf.getInt(<js>"MySection/anInt"</js>); 
        <jk>boolean</jk> aBoolean = 
cf.getBoolean(<js>"MySection/aBoolean"</js>); 

Reply via email to