add methods

This commit is contained in:
Looly 2021-05-08 11:12:34 +08:00
parent 5e973f1c8c
commit f6c38ed8ff
2 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,8 @@
* 【http 】 HttpUtil增加closeCookie方法
* 【core 】 NumberUtil增加方法decimalFormat重载issue#I3OSA2@Gitee
* 【extra 】 Ftp的remoteVerificationEnabled改为falseissue#I3OSA2@Gitee
* 【core 】 MaskBit增加掩码反向转换的方法getMaskBit()pr#1563@Github
### 🐞Bug修复
* 【core 】 修复createScheduledExecutor单位不是毫秒的问题issue#I3OYIW@Gitee
* 【core 】 修复Tailer无stop问题issue#I3PQLQ@Gitee

View File

@ -67,6 +67,7 @@ public class MaskBit {
* @param mask 掩码的点分十进制表示 255.255.255.0
*
* @return 掩码位 24如果掩码不合法则返回null
* @since 5.6.5
*/
public static Integer getMaskBit(String mask) {
return MASK_BIT_MAP.getKey(mask);