Skip to content

Commit

Permalink
Spotless lmao
Browse files Browse the repository at this point in the history
  • Loading branch information
Zabuzard committed Mar 29, 2022
1 parent 351e46b commit 16fd01b
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@
/**
* Detects whether a text message classifies as scam or not, using certain heuristics.
*
* Highly configurable, using {@link ScamBlockerConfig}. Main method to use is {@link #isScam(CharSequence)}.
* Highly configurable, using {@link ScamBlockerConfig}. Main method to use is
* {@link #isScam(CharSequence)}.
*/
public final class ScamDetector {
private static final Pattern TOKENIZER = Pattern.compile("[\\s,]");
private final ScamBlockerConfig config;

/**
* Creates a new instance with the given configuration
*
* @param config the scam blocker config to use
*/
public ScamDetector(@NotNull Config config) {
Expand All @@ -27,6 +29,7 @@ public ScamDetector(@NotNull Config config) {

/**
* Detects whether the given message classifies as scam or not, using certain heuristics.
*
* @param message the message to analyze
* @return Whether the message classifies as scam
*/
Expand Down

0 comments on commit 16fd01b

Please sign in to comment.