[ http://issues.apache.org/jira/browse/OFBIZ-530?page=comments#action_12457073 ] Jacopo Cappellato commented on OFBIZ-530: -----------------------------------------
Thanks Jacques! > 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 > Assigned To: Jacques Le Roux > Priority: Trivial > Fix For: SVN trunk > > Attachments: ofbiz_Boolean_static_1a.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
