mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
修复BiMap.put错误的返回值
This commit is contained in:
parent
6e94ec8c34
commit
ffc6c5ea76
@ -51,7 +51,8 @@ public class BiMap<K, V> extends MapWrapper<K, V> {
|
|||||||
}
|
}
|
||||||
this.inverse.put(value, key);
|
this.inverse.put(value, key);
|
||||||
}
|
}
|
||||||
return super.put(key, value);
|
|
||||||
|
return oldValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user