[jira] [Created] (OFBIZ-11746) Enforce noninstantiability to ConfigXMLReader Class

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

[jira] [Created] (OFBIZ-11746) Enforce noninstantiability to ConfigXMLReader Class

Nicolas Malin (Jira)
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)