mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix BiMap.put 错误的返回值;
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user