db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5707) Clean up statements in CharUTF8Test
Date Tue, 24 Apr 2012 10:57:33 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Knut Anders Hatlen updated DERBY-5707:

    Attachment: d5707-1a.diff

The attached patch makes tearDown() null out the references to the statements instead of closing
them. (They will still be closed in super.tearDown().) Also fix a typo in a javadoc comment.
> Clean up statements in CharUTF8Test
> -----------------------------------
>                 Key: DERBY-5707
>                 URL: https://issues.apache.org/jira/browse/DERBY-5707
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: d5707-1a.diff
> CharUTF8Test has two PreparedStatement fields. The statements are closed in tearDown(),
but not nulled out. We should null out the references to let the statements be garbage collected.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message