Removed unused field, the parent bidi map is accessed via decorated().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479122 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1436aa0fc7
commit
2edf0b06a9
|
@ -224,9 +224,6 @@ public class DualTreeBidiMap<K, V> extends AbstractDualBidiMap<K, V>
|
|||
* Internal sorted map view.
|
||||
*/
|
||||
protected static class ViewMap<K, V> extends AbstractSortedMapDecorator<K, V> {
|
||||
/** The parent bidi map. */
|
||||
private final DualTreeBidiMap<K, V> bidi; // TODO not actually used - WHY?
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
* @param bidi the parent bidi map
|
||||
|
@ -237,7 +234,6 @@ public class DualTreeBidiMap<K, V> extends AbstractDualBidiMap<K, V>
|
|||
// use the normalMap as the filtered map, but reverseMap as the full map
|
||||
// this forces containsValue and clear to be overridden
|
||||
super(new DualTreeBidiMap<K, V>(sm, bidi.reverseMap, bidi.inverseBidiMap));
|
||||
this.bidi = decorated();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue