directory-fortress mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn McKinney <smckin...@apache.org>
Subject Re: Static Config Initialization Problems
Date Tue, 19 Apr 2016 13:59:44 GMT

> On Apr 19, 2016, at 7:34 AM, Chris Pike <clp207@psu.edu> wrote:
> 
> Ok, I'll work on my branch and get the tests working. What do you mean by wrap Config.getInstance()
with CONFIG?

Cool.  

Please use a method wrapper such as this for the code references:

public final class GlobalIds
{

...
    public static final Config CONFIG = Config.getInstance(  );

or if you have a better way that’s fine too.  Don’t want to see Config.getIntance().getProperty(…)
in a kazillion places.

Thanks,

Shawn
Mime
View raw message