Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7272 Enforce noninstantiability to all Utility classes
  3. OFBIZ-7630

Enforce noninstantiability to ServiceEcaUtil class

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 16.11.01
    • framework
    • None
    • Community Day 2 - 2016, OFBiz Community Day (May 2020)

    Description

      • Make class as final.
      • Add a private constructor.
      • Make the following public static variables as private
            public static Map<String, Map<String, List<ServiceEcaRule>>> ecaCache = new ConcurrentHashMap<String, Map<String, List<ServiceEcaRule>>>();
        
      • Make the following protected static methods as private
        protected static Callable<List<ServiceEcaRule>> createEcaLoaderCallable(final ResourceHandler handler)
        

      Attachments

        1. OFBIZ-7630.patch
          1 kB
          Anurag Chandak

        Activity

          People

            arunpati Arun Patidar
            rishisolankii Rishi Solanki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: