mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-17 15:35:00 +00:00
Use getter rather than direct access to key
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477597 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
16d5b09656
commit
63252b4946
@ -685,12 +685,12 @@ public class ListOrderedMap<K, V>
|
||||
|
||||
@Override
|
||||
public V getValue() {
|
||||
return parent.get(key);
|
||||
return parent.get(getKey());
|
||||
}
|
||||
|
||||
@Override
|
||||
public V setValue(final V value) {
|
||||
return parent.decorated().put(key, value);
|
||||
return parent.decorated().put(getKey(), value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user