You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Joerg Schaible (JIRA)" <ji...@apache.org> on 2011/05/03 02:42:03 UTC

[jira] [Resolved] (DBCP-359) DelegatingConnection.equals fails if both delegates are null

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

Joerg Schaible resolved DBCP-359.
---------------------------------

    Resolution: Fixed

http://svn.apache.org/viewvc?rev=1098877&view=rev

> DelegatingConnection.equals fails if both delegates are null
> ------------------------------------------------------------
>
>                 Key: DBCP-359
>                 URL: https://issues.apache.org/jira/browse/DBCP-359
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: 1.3, 1.4
>            Reporter: Joerg Schaible
>            Assignee: Joerg Schaible
>
> {code:java}
> DelegatingConnection conn3 = new DelegatingConnection(null);
> assertTrue(conn3.equals(new DelegatingConnection(null)));
> {code}
> Test fails.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira