Suraj Khurana created OFBIZ-11746:
-------------------------------------
Summary: Enforce noninstantiability to ConfigXMLReader Class
Key: OFBIZ-11746
URL:
https://issues.apache.org/jira/browse/OFBIZ-11746 Project: OFBiz
Issue Type: Sub-task
Components: framework
Affects Versions: Trunk
Reporter: Suraj Khurana
Assignee: Suraj Khurana
- Make ConfigXMLReader class as final.
- Add a private constructor.
- Make the following public static variable as private.
{code:java}
public static final String MODULE = ConfigXMLReader.class.getName();
public static final Path CONTROLLERXMLFILENAME = Paths.get("WEB-INF", "controller.xml");
public static final RequestResponse emptyNoneRequestResponse = RequestResponse.createEmptyNoneRequestResponse();{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)