Skip to content

Commit

Permalink
[Feature] add for new
Browse files Browse the repository at this point in the history
  • Loading branch information
houbb committed Jan 8, 2020
1 parent 4e169da commit 98374a1
Show file tree
Hide file tree
Showing 6 changed files with 3,723 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.houbb</groupId>
<artifactId>sensitive-word</artifactId>
<version>0.0.2</version>
<version>0.0.3-SNAPSHOT</version>

<properties>
<!--============================== All Plugins START ==============================-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ private String replaceSensitiveWord(final String target,
return target;
}
// 用于结果构建
StringBuilder resultBuilder = new StringBuilder();
StringBuilder resultBuilder = new StringBuilder(target.length());

for (int i = 0; i < target.length(); i++) {
char currentChar = target.charAt(i);
Expand Down
Loading

0 comments on commit 98374a1

Please sign in to comment.