mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-03-04 08:49:22 +00:00
HHH-5146 : org.hibernate.util.IdentitySet.iterator() return Map.Entry instances instead of actual elements
This commit is contained in:
parent
8fcbf71a11
commit
9c0aa69b5b
@ -69,15 +69,15 @@ public boolean contains(Object o) {
|
||||
}
|
||||
|
||||
public Iterator iterator() {
|
||||
return map.entrySet().iterator();
|
||||
return map.keySet().iterator();
|
||||
}
|
||||
|
||||
public Object[] toArray() {
|
||||
return map.entrySet().toArray();
|
||||
return map.keySet().toArray();
|
||||
}
|
||||
|
||||
public Object[] toArray(Object[] a) {
|
||||
return map.entrySet().toArray( a );
|
||||
return map.keySet().toArray( a );
|
||||
}
|
||||
|
||||
public boolean add(Object o) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user