Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
HaHaWTH committed Mar 10, 2024
1 parent ef2a92d commit afa3bbe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/wdsj/asw/method/ExternalWordAllow.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public List<String> allow() {
List<String> lines = Files.readAllLines(file.toPath());
totalList.addAll(lines);
}
if (files.size() > 0) AdvancedSensitiveWords.getInstance().getLogger().info("Loaded " + files.size() + " external allow files.");
if (files.size() > 0) AdvancedSensitiveWords.getInstance().getLogger().info("Loaded " + files.size() + " external allow file(s).");
} catch (IOException e) {
e.printStackTrace();
return Collections.emptyList();
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/wdsj/asw/method/ExternalWordDeny.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public List<String> deny() {
List<String> lines = Files.readAllLines(file.toPath());
totalList.addAll(lines);
}
if (files.size() > 0) AdvancedSensitiveWords.getInstance().getLogger().info("Loaded " + files.size() + " external deny files.");
if (files.size() > 0) AdvancedSensitiveWords.getInstance().getLogger().info("Loaded " + files.size() + " external deny file(s).");
} catch (IOException e) {
e.printStackTrace();
return Collections.emptyList();
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/wdsj/asw/method/OnlineWordDeny.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public List<String> deny() {
AdvancedSensitiveWords.getInstance().getLogger().warning("Failed to load online words list.");
return Collections.emptyList();
}
AdvancedSensitiveWords.getInstance().getLogger().info("Loaded " + lines.size() + " words online.");
AdvancedSensitiveWords.getInstance().getLogger().info("Loaded " + lines.size() + " word(s) online.");
return lines;
}
}

0 comments on commit afa3bbe

Please sign in to comment.