Skip to content

Commit bcef492

Browse files
committed
add jdoc for params and refactor variables
1 parent 5ee5d9e commit bcef492

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

application/src/main/java/org/togetherjava/tjbot/features/moderation/TransferQuestionCommand.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,15 @@ public final class TransferQuestionCommand extends BotCommandAdapter
4646
private static final Pattern TITLE_GUESS_COMPACT_REMOVAL_PATTERN = Pattern.compile("\\W");
4747
private static final int TITLE_GUESS_COMPACT_LENGTH_MIN = 2;
4848
private static final int TITLE_GUESS_COMPACT_LENGTH_MAX = 30;
49+
private static final Color EMBED_COLOR = new Color(50, 164, 168);
4950
private final Predicate<String> isHelpForumName;
5051
private final List<String> defaultTags;
51-
private static final Color EMBED_COLOR = new Color(50, 164, 168);
5252

5353

5454
/**
5555
* Creates a new instance.
56+
*
57+
* @param config to get the helper forum and tags
5658
*/
5759
public TransferQuestionCommand(Config config) {
5860
super(Commands.message(COMMAND_NAME), CommandVisibility.GUILD);

0 commit comments

Comments
 (0)