Message:
The following issue has been closed.
Resolver: Gavin King
Date: Mon, 25 Aug 2003 2:31 PM
Yes, this embarrassing bug was already found and fixed in CVS.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-288
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-288
Summary: Map.putAll() does not work
Type: Bug
Status: Closed
Priority: Major
Resolution: DUPLICATE
Project: Hibernate2
Components:
core
Versions:
2.0 final
Assignee:
Reporter: Juha Komulainen
Created: Mon, 25 Aug 2003 5:48 AM
Updated: Mon, 25 Aug 2003 2:31 PM
Description:
net.sf.hibernate.collection.Map.putAll looks this:
public void putAll(java.util.Map puts) {
if ( map.size()>0 ) {
write();
map.putAll(puts);
}
}
The condition should clearly be "puts.size() > 0" instead
of "map.size() > 0".
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|