mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-30 04:45:55 +08:00
fix BiMap.put 错误的返回值;
This commit is contained in:
parent
4dd0b15da7
commit
3a7771a78e
@ -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…
Reference in New Issue
Block a user