Skip to content

Commit 16fd01b

Browse files
committed
Spotless lmao
1 parent 351e46b commit 16fd01b

File tree

1 file changed

+4
-1
lines changed
  • application/src/main/java/org/togetherjava/tjbot/commands/moderation/scam

1 file changed

+4
-1
lines changed

application/src/main/java/org/togetherjava/tjbot/commands/moderation/scam/ScamDetector.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@
1111
/**
1212
* Detects whether a text message classifies as scam or not, using certain heuristics.
1313
*
14-
* Highly configurable, using {@link ScamBlockerConfig}. Main method to use is {@link #isScam(CharSequence)}.
14+
* Highly configurable, using {@link ScamBlockerConfig}. Main method to use is
15+
* {@link #isScam(CharSequence)}.
1516
*/
1617
public final class ScamDetector {
1718
private static final Pattern TOKENIZER = Pattern.compile("[\\s,]");
1819
private final ScamBlockerConfig config;
1920

2021
/**
2122
* Creates a new instance with the given configuration
23+
*
2224
* @param config the scam blocker config to use
2325
*/
2426
public ScamDetector(@NotNull Config config) {
@@ -27,6 +29,7 @@ public ScamDetector(@NotNull Config config) {
2729

2830
/**
2931
* Detects whether the given message classifies as scam or not, using certain heuristics.
32+
*
3033
* @param message the message to analyze
3134
* @return Whether the message classifies as scam
3235
*/

0 commit comments

Comments
 (0)