mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
fix code
This commit is contained in:
commit
ab35ba10a2
@ -15,6 +15,7 @@
|
||||
* 【core 】 FuncKeyMap的子类,传入可被序列化的keyFunc(pr#838@Gitee)
|
||||
* 【extra 】 SpringUtil支持SpringBoot3自动配置(pr#839@Gitee)
|
||||
* 【core 】 CollectorUtil添加支持对值集合进行映射的分组方法(pr#844@Gitee)
|
||||
* 【core 】 FileTypeUtil增加ppt识别(issue#2663@Github)
|
||||
|
||||
### 🐞Bug修复
|
||||
* 【poi 】 修复ExcelReader读取只有标题行报错问题(issue#I5U1JA@Gitee)
|
||||
|
@ -8,7 +8,7 @@ import cn.hutool.bloomfilter.filter.SDBMFilter;
|
||||
import cn.hutool.core.util.NumberUtil;
|
||||
|
||||
/**
|
||||
* BlommFilter 实现 <br>
|
||||
* BloomFilter 实现 <br>
|
||||
* 1.构建hash算法 <br>
|
||||
* 2.散列hash映射到数组的bit位置 <br>
|
||||
* 3.验证<br>
|
||||
@ -79,4 +79,4 @@ public class BitMapBloomFilter implements BloomFilter {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -166,6 +166,8 @@ public class FileTypeUtil {
|
||||
typeName = "doc";
|
||||
} else if ("msi".equalsIgnoreCase(extName)) {
|
||||
typeName = "msi";
|
||||
} else if ("ppt".equalsIgnoreCase(extName)) {
|
||||
typeName = "ppt";
|
||||
}
|
||||
} else if ("zip".equals(typeName)) {
|
||||
// zip可能为docx、xlsx、pptx、jar、war、ofd等格式,扩展名辅助判断
|
||||
|
Loading…
Reference in New Issue
Block a user