Code-Cleanup: new Boolean(true) -> Boolean.TRUE
-----------------------------------------------

                 Key: OFBIZ-530
                 URL: http://issues.apache.org/jira/browse/OFBIZ-530
             Project: OFBiz (The Open for Business Project)
          Issue Type: Improvement
            Reporter: Stefan Huehner
            Priority: Trivial
         Attachments: ofbiz_Boolean_static_1.diff

Hi attached patch tries to reduce the number of created objects. In a lot of 
Places Boolean objects to hold the true/false values are created. Each of them 
creates a new object to hold these 2 final states. The patch converts all of 
these to using the final static Boolean.TRUE / Boolean.FALSE values.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to