You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2006/12/09 13:20:22 UTC

[jira] Closed: (OFBIZ-530) Code-Cleanup: new Boolean(true) -> Boolean.TRUE

     [ http://issues.apache.org/jira/browse/OFBIZ-530?page=all ]

Jacques Le Roux closed OFBIZ-530.
---------------------------------

    Fix Version/s: SVN trunk
       Resolution: Fixed
         Assignee: Jacques Le Roux  (was: Jacopo Cappellato)

Stefan, Jacopo,

On Windows I was able to apply and commit the file in rev. 484976. Of course i snot a reason to use -u option ;o)

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: 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