From 57bcd0a8ce5e0df5b7f5b95107b221e0dd50e7bf Mon Sep 17 00:00:00 2001 From: "binbin.hou" Date: Fri, 26 Apr 2024 18:00:29 +0800 Subject: [PATCH] release branch 0.16.1 --- CHANGE_LOG.md | 12 +++++++++--- README.md | 2 +- pom.xml | 2 +- release.bat | 2 +- .../houbb/sensitive/word/bs/SensitiveWordBs.java | 2 +- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/CHANGE_LOG.md b/CHANGE_LOG.md index 4fe3a3b..0d4f368 100644 --- a/CHANGE_LOG.md +++ b/CHANGE_LOG.md @@ -301,6 +301,12 @@ # release_0.16.0 -| 序号 | 变更类型 | 说明 | 时间 | 备注 | -|:---|:-----|----------------------|:-------------------|:-------------------------------------------------| -| 1 | F | 支持资源的释放,如 andriod 场景 | 2024-4-26 21:02:25 | https://github.com/houbb/sensitive-word/issues/53 | +| 序号 | 变更类型 | 说明 | 时间 | 备注 | +|:---|:-----|----------------------|:-------------------|:-------------------------------------------------------| +| 1 | A | 支持资源的释放,如 andriod 场景 | 2024-4-26 21:02:25 | 废弃版本,https://github.com/houbb/sensitive-word/issues/53 | + +# release_0.16.1 + +| 序号 | 变更类型 | 说明 | 时间 | 备注 | +|:---|:-----|----------------------|:-------------------|:----------------------------------------------------------| +| 1 | F | 支持资源的释放,如 andriod 场景 | 2024-4-26 21:02:25 | 修正未调用问题,https://github.com/houbb/sensitive-word/issues/53 | diff --git a/README.md b/README.md index 2301c10..e42283b 100644 --- a/README.md +++ b/README.md @@ -452,7 +452,7 @@ Assert.assertTrue(wordBs.contains(text)); ## 内存的释放 -有时候我们需要释放内存,可以如下: +v0.16.1 开始支持,有时候我们需要释放内存,可以如下: > [关于内存回收问题](https://github.com/houbb/sensitive-word/issues/53) diff --git a/pom.xml b/pom.xml index e08f8a8..6ee59cd 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.github.houbb sensitive-word - 0.16.0 + 0.16.1 diff --git a/release.bat b/release.bat index 98f802c..6491403 100644 --- a/release.bat +++ b/release.bat @@ -10,7 +10,7 @@ ECHO "============================= RELEASE START..." :: 版本号信息(需要手动指定) :::: 旧版本名称 -SET version=0.16.0 +SET version=0.16.1 :::: 新版本名称 SET newVersion=0.17.0 :::: 组织名称 diff --git a/src/main/java/com/github/houbb/sensitive/word/bs/SensitiveWordBs.java b/src/main/java/com/github/houbb/sensitive/word/bs/SensitiveWordBs.java index c8638cc..b27804d 100644 --- a/src/main/java/com/github/houbb/sensitive/word/bs/SensitiveWordBs.java +++ b/src/main/java/com/github/houbb/sensitive/word/bs/SensitiveWordBs.java @@ -575,7 +575,7 @@ public class SensitiveWordBs implements ISensitiveWordDestroy { @Override public void destroy() { - + this.wordData.destroy(); } //------------------------------------------------------------------------------------ 公开方法 END