[COLLECTIONS-255] re-address unused cache variable in TreeBidiMap
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@894500 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aa0e7d0a92
commit
4016c8eec9
|
@ -411,7 +411,7 @@ public class TreeBidiMap<K extends Comparable<K>, V extends Comparable<V>> imple
|
|||
*/
|
||||
public Set<Map.Entry<K, V>> entrySet() {
|
||||
if (entrySet == null) {
|
||||
return new EntryView();
|
||||
entrySet = new EntryView();
|
||||
}
|
||||
return entrySet;
|
||||
}
|
||||
|
@ -2092,7 +2092,7 @@ public class TreeBidiMap<K extends Comparable<K>, V extends Comparable<V>> imple
|
|||
|
||||
public Set<Map.Entry<V, K>> entrySet() {
|
||||
if (entrySet == null) {
|
||||
return new InverseEntryView();
|
||||
entrySet = new InverseEntryView();
|
||||
}
|
||||
return entrySet;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue