This commit is contained in:
Looly 2022-10-22 22:16:26 +08:00
commit ab35ba10a2
3 changed files with 5 additions and 2 deletions

View File

@ -15,6 +15,7 @@
* 【core 】 FuncKeyMap的子类传入可被序列化的keyFuncpr#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

View File

@ -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;
}
}
}

View File

@ -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可能为docxxlsxpptxjarwarofd等格式扩展名辅助判断