Skip to content

Commit 4ffdae3

Browse files
committed
fix: remove unused field
1 parent ba8c023 commit 4ffdae3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

application/src/main/java/org/togetherjava/tjbot/features/code/CodeMessageHandler.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public final class CodeMessageHandler extends MessageReceiverAdapter implements
5252

5353
private final ComponentIdInteractor componentIdInteractor;
5454
private final Map<String, CodeAction> labelToCodeAction;
55-
private final ChatGptService chatGptService;
5655

5756
/**
5857
* Memorizes the ID of the bots code-reply message that a message belongs to. That way, the
@@ -75,7 +74,6 @@ public final class CodeMessageHandler extends MessageReceiverAdapter implements
7574
public CodeMessageHandler(FeatureBlacklist<String> blacklist, JShellEval jshellEval,
7675
ChatGptService chatGptService) {
7776
componentIdInteractor = new ComponentIdInteractor(getInteractionType(), getName());
78-
this.chatGptService = chatGptService;
7977

8078
List<CodeAction> codeActions =
8179
Stream.of(new FormatCodeCommand(chatGptService), new EvalCodeCommand(jshellEval))

0 commit comments

Comments
 (0)