You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Suraj Khurana (Jira)" <ji...@apache.org> on 2020/05/31 11:01:00 UTC
[jira] [Created] (OFBIZ-11778) Enforce noninstantiability to
GroovyUtil Class
Suraj Khurana created OFBIZ-11778:
-------------------------------------
Summary: Enforce noninstantiability to GroovyUtil Class
Key: OFBIZ-11778
URL: https://issues.apache.org/jira/browse/OFBIZ-11778
Project: OFBiz
Issue Type: Sub-task
Components: framework
Affects Versions: Trunk
Reporter: Suraj Khurana
Assignee: Suraj Khurana
- Make GroovyUtil class as final.
- Move private constructor to proper location
- Make the following public static variable as private.
{code:java}
public static final UtilCache<String, Class<?>> PARSED_SCRIPTS = UtilCache.createUtilCache("script.GroovyLocationParsedCache", 0, 0, false);
public static final GroovyClassLoader GROOVY_CLASS_LOADER;{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)