directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Created] (FC-106) There is something fishy in the CacheMgr class
Date Tue, 19 May 2015 14:41:59 GMT
Emmanuel Lecharny created FC-106:

             Summary: There is something fishy in the CacheMgr class
                 Key: FC-106
             Project: FORTRESS
          Issue Type: Improvement
    Affects Versions: 1.0.0-RC40
            Reporter: Emmanuel Lecharny
             Fix For: 1.0.0-RC41

The class does not expose a constructor : we use the {{getInstance()}} method to get an instance
of it. So far, so good, except that we create the instance into a static method, when it should
be done in a static block. That would remove the need for a lock, and remove the mix of non
static fields and static fields.

This message was sent by Atlassian JIRA

View raw message