Skip to content

Commit 2111dc8

Browse files
committed
replaced ArrayList with List
1 parent 7639f71 commit 2111dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/src/main/java/org/togetherjava/tjbot/commands/tags/TagManageCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ private void logAction(@NotNull Subcommand subcommand, @NotNull Guild guild,
358358
@NotNull User author, @NotNull TemporalAccessor triggeredAt, @NotNull String id,
359359
@Nullable String newContent, @Nullable String previousContent) {
360360

361-
ArrayList<ModAuditLogWriter.Attachment> attachments = new ArrayList<>();
361+
List<ModAuditLogWriter.Attachment> attachments = new ArrayList<>();
362362

363363
if (Subcommand.SUBCOMMANDS_WITH_NEW_CONTENT.contains(subcommand)) {
364364
if (newContent == null) {

0 commit comments

Comments
 (0)