+ add bug fix to key rename
This commit is contained in:
@@ -66,7 +66,9 @@ abstract class DefaultBoundKeyOperations<K> implements BoundKeyOperations<K> {
|
||||
|
||||
@Override
|
||||
public void rename(K newKey) {
|
||||
ops.rename(key, newKey);
|
||||
if (ops.hasKey(key)) {
|
||||
ops.rename(key, newKey);
|
||||
}
|
||||
key = newKey;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user