[jira] [Updated] (OFBIZ-7686) Enforce noninstantiability to EntityEcaUtil class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-7686) Enforce noninstantiability to EntityEcaUtil class

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-7686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rishi Solanki updated OFBIZ-7686:
---------------------------------
    Description:
- Make class as final.
- Add a private constructor.
- Make the following protected static methods as private
{code}
    protected static Callable<List<EntityEcaRule>> createEcaLoaderCallable(final ResourceHandler handler)
    protected static void readConfig(String entityEcaReaderName, Map<String, Map<String, List<EntityEcaRule>>> ecaCache)
{code}

No variables needs to be change for this class.

  was:
- Make class as final.
- Add a private constructor.
- Make the following protected static methods as private
{code}
    protected static Callable<List<EntityEcaRule>> createEcaLoaderCallable(final ResourceHandler handler)
{code}

No variables needs to be change for this class.


> Enforce noninstantiability to EntityEcaUtil class
> -------------------------------------------------
>
>                 Key: OFBIZ-7686
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7686
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Rishi Solanki
>            Priority: Minor
>
> - Make class as final.
> - Add a private constructor.
> - Make the following protected static methods as private
> {code}
>     protected static Callable<List<EntityEcaRule>> createEcaLoaderCallable(final ResourceHandler handler)
>     protected static void readConfig(String entityEcaReaderName, Map<String, Map<String, List<EntityEcaRule>>> ecaCache)
> {code}
> No variables needs to be change for this class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)