Skip to content

Commit

Permalink
1.0.7 支持keyword自动去重
Browse files Browse the repository at this point in the history
  • Loading branch information
winezer0 committed Dec 26, 2024
1 parent c330dee commit 4431313
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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>org.example</groupId>
<artifactId>APIFinderPlus</artifactId>
<version>1.0.6</version>
<version>1.0.7</version>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/ui/RuleConfigPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import ui.FingerTabRender.*;
import ui.MainTabRender.TableHeaderWithTips;
import utils.BurpFileUtils;
import utils.CastUtils;
import utils.ConfigUtils;
import utils.UiUtils;

Expand Down Expand Up @@ -912,6 +913,8 @@ public void actionPerformed(ActionEvent e) {
String describe = describeField.getText();
List<String> keyword;
keyword = Arrays.asList(keywordField.getText().split("\n"));
//添加Keyword去重功能
keyword = CastUtils.deduplicateStringList(keyword);
if (type.trim().isEmpty() || method.trim().isEmpty() || location.trim().isEmpty()) {
JOptionPane.showMessageDialog(editRulePanel, "主要输入框都必须填写。", "输入错误", JOptionPane.ERROR_MESSAGE);
return;
Expand Down

0 comments on commit 4431313

Please sign in to comment.