We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f134ff commit 3fb8ceaCopy full SHA for 3fb8cea
application/src/main/java/org/togetherjava/tjbot/features/code/FormatCodeCommand.java
@@ -16,6 +16,11 @@ final class FormatCodeCommand implements CodeAction {
16
private final Formatter formatter = new Formatter();
17
private final ChatGPTFormatter chatGPTFormatter;
18
19
+ /**
20
+ * Initializes a {@link FormatCodeCommand} which formats code.
21
+ *
22
+ * @param service the {@link ChatGptService} instance to be used for code formatting
23
+ */
24
public FormatCodeCommand(ChatGptService service) {
25
this.chatGPTFormatter = new ChatGPTFormatter(service);
26
}
0 commit comments