[ http://issues.apache.org/jira/browse/OFBIZ-530?page=comments#action_12457061 ] Jacopo Cappellato commented on OFBIZ-530: -----------------------------------------
Hi Stefan, could you please create your patches without the -u options please? I'm having problems applying them... See: http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices Thanks > 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: Jacopo Cappellato > Priority: Trivial > 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
