Uploaded image for project: 'FORTRESS'
  1. FORTRESS
  2. FC-106

There is something fishy in the CacheMgr class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0-RC40
    • 1.0.0-RC42
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: