Usage notes for AppConfig - minor documentation bug

10 views
Skip to first unread message

Gianna Giavelli

unread,
May 12, 2015, 9:11:39 AM5/12/15
to acti...@googlegroups.com

When calling AppConfig    public static String p(String key)   we need to reference it off AppConfig. It's a minor documentation bug. 

Current:

AppConfig

Small application configuration library to provide different properties for applications deployed to different environments

Usage

String name = p("name");

Proposed:
        String strData = AppConfig.p("propertyfilekey");
               

Igor Polevoy

unread,
May 12, 2015, 2:28:41 PM5/12/15
to acti...@googlegroups.com
Gianna, I prefer a static import. I improved the README file, please see: https://github.com/javalite/activejdbc/tree/master/app-config

Thanks

Gianna Giavelli

unread,
May 16, 2015, 3:30:23 AM5/16/15
to acti...@googlegroups.com
brilliant. I forget these new features of Java. reads good now. thanks. 
Reply all
Reply to author
Forward
0 new messages