Skip to content

Commit 62b6adb

Browse files
committed
docs: fix some JavaDocs
1 parent 79c73c8 commit 62b6adb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

application/src/main/java/org/togetherjava/tjbot/features/basic/ApplicationCreateCommand.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public class ApplicationCreateCommand extends SlashCommandAdapter {
6565
private final ApplicationFormConfig config;
6666

6767
/**
68-
* Constructs a new {@code ApplicationCreateCommand} with the specified configuration.
68+
* Constructs a new {@link ApplicationCreateCommand} with the specified configuration.
6969
* <p>
7070
* This command is designed to generate an application form for members to apply for roles.
7171
*
@@ -111,12 +111,12 @@ public void onButtonClick(ButtonInteractionEvent event, List<String> args) {
111111
/**
112112
* Maps a user and an {@link ApplyRoleConfig} option to a SelectOption object.
113113
* <p>
114-
* This method is used to create a SelectOption object that represents a role configuration
115-
* option for a user, including a unique component ID generated based on the user's ID and the
116-
* option's name, a description, and an emoji.
114+
* This method is used to create a {@link SelectOption} object that represents a role
115+
* configuration option for a user, including a unique component ID generated based on the
116+
* user's ID and the option's name, a description, and an emoji.
117117
*
118118
* @param user the user for whom the role configuration option is being mapped
119-
* @param option the {@link ApplyRoleConfig} option to be mapped to a SelectOption
119+
* @param option the {@link ApplyRoleConfig} option to be mapped to a {@link SelectOption}
120120
* @return a {@link SelectOption} object with the specified details
121121
*/
122122
private SelectOption mapToSelectOption(User user, ApplyRoleConfig option) {
@@ -194,7 +194,7 @@ public void onModalSubmitted(ModalInteractionEvent event, List<String> args) {
194194
* Retrieves the application channel from the given {@link Guild}.
195195
*
196196
* @param guild the guild from which to retrieve the application channel
197-
* @return an {@link Optional} containing the {@code TextChannel} representing the application
197+
* @return an {@link Optional} containing the {@link TextChannel} representing the application
198198
* channel, or an empty {@link Optional} if no such channel is found
199199
*/
200200
private Optional<TextChannel> getApplicationChannel(Guild guild) {

0 commit comments

Comments
 (0)