commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Zeigermann (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (TRANSACTION-8) [transaction] TransactionalMapWrapper doesn't work correctly with null values
Date Thu, 13 Jul 2006 20:36:31 GMT
     [ http://issues.apache.org/jira/browse/TRANSACTION-8?page=all ]
     
Oliver Zeigermann resolved TRANSACTION-8:
-----------------------------------------

    Resolution: Fixed

Patch applied. Thanks!

> [transaction] TransactionalMapWrapper doesn't work correctly with null values
> -----------------------------------------------------------------------------
>
>          Key: TRANSACTION-8
>          URL: http://issues.apache.org/jira/browse/TRANSACTION-8
>      Project: Commons Transaction
>         Type: Bug

>  Environment: Operating System: All
> Platform: All
>     Reporter: Greg Steckman
>     Priority: Critical
>  Attachments: TransactionalMapWrapper.patch
>
> TransactionalMapWrapper has a number of instances of incorrect behavior if a
> null value is placed into the Map. This is a result of using Map.get(key)!=null
> (or similar) instead of Map.containsKey(key) to check if the underlying Map has
> a key/value pair set or not. TransactionalMapWrapper.containsKey(key) also
> returned incorrect values if the key mapped to a null value.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message