mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
!1218 修复BiMap.put错误的返回值
Merge pull request !1218 from emptypoint/fix-BiMap-put
This commit is contained in:
commit
f97d3a73ea
@ -51,7 +51,7 @@ public class BiMap<K, V> extends MapWrapper<K, V> {
|
||||
}
|
||||
this.inverse.put(value, key);
|
||||
}
|
||||
return super.put(key, value);
|
||||
return oldValue;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user