Skip to content

Commit 61d7e36

Browse files
committed
Fix javadoc spelling mistakes
1 parent 7cb72ed commit 61d7e36

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/main/java/net/discordjug/javabot/systems/staff_commands/forms/commands/SubmissionsDeleteFormSubcommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class SubmissionsDeleteFormSubcommand extends Subcommand implements AutoC
3030
*/
3131
public SubmissionsDeleteFormSubcommand(FormsRepository formsRepo) {
3232
this.formsRepo = formsRepo;
33-
setCommandData(new SubcommandData("submissions-delete", "Deletes submissions of an user in the form")
33+
setCommandData(new SubcommandData("submissions-delete", "Deletes submissions of a user in the form")
3434
.addOptions(new OptionData(OptionType.INTEGER, "form-id", "The ID of a form to get submissions for",
3535
true, true), new OptionData(OptionType.USER, "user", "User to delete submissions of", true)));
3636
}

src/main/java/net/discordjug/javabot/systems/staff_commands/forms/dao/FormsRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public List<FormData> getAllForms(boolean closed) {
129129
}
130130

131131
/**
132-
* Get all submissions of this form in an user -> count map.
132+
* Get all submissions of this form in a user -> count map.
133133
*
134134
* @param form a form to get submissions for
135135
* @return a map of users and the number of their submissions

src/main/java/net/discordjug/javabot/systems/staff_commands/forms/model/FormData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public boolean isAttached() {
7878
/**
7979
* Creates text components for use in the submission modal.
8080
*
81-
* @return Lsit of layout components for use in the submission modal.
81+
* @return List of layout components for use in the submission modal.
8282
*/
8383
public LayoutComponent[] createComponents() {
8484
LayoutComponent[] array = new LayoutComponent[fields.size()];

src/main/java/net/discordjug/javabot/systems/staff_commands/forms/model/FormUser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import java.util.Objects;
44

55
/**
6-
* Represents an user who submitted a form.
6+
* Represents a user who submitted a form.
77
*/
88
public class FormUser {
99
private final long id;

0 commit comments

Comments
 (0)