db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2383) ReuseFactory should use the constants in java.lang.Boolean
Date Thu, 01 Mar 2007 12:44:51 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476914
] 

Daniel John Debrunner commented on DERBY-2383:
----------------------------------------------

One can go further and say ReuseFactory.getBoolean should be removed.

The standard method java.lang.Boolean.valueOf(boolean) has the same functionality.

At one point it the method was removed and then some change brought it back again. :-)

> ReuseFactory should use the constants in java.lang.Boolean
> ----------------------------------------------------------
>
>                 Key: DERBY-2383
>                 URL: https://issues.apache.org/jira/browse/DERBY-2383
>             Project: Derby
>          Issue Type: Improvement
>          Components: Miscellaneous
>    Affects Versions: 10.3.0.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Trivial
>             Fix For: 10.3.0.0
>
>         Attachments: bool.diff
>
>
> ReuseFactory has its own constants for Boolean true/false. It could use Boolean.TRUE
and Boolean.FALSE instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message