You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2015/05/19 16:41:59 UTC
[jira] [Created] (FC-106) There is something fishy in the CacheMgr
class
Emmanuel Lecharny created FC-106:
------------------------------------
Summary: There is something fishy in the CacheMgr class
Key: FC-106
URL: https://issues.apache.org/jira/browse/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
(v6.3.4#6332)