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:
Sebastian Bazley 2013-04-30 12:43:06 +00:00
parent 16d5b09656
commit 63252b4946
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}