Skip to content

Commit 9022462

Browse files
committed
remove default
1 parent 9302913 commit 9022462

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,6 @@ private boolean isWrongTagStatusAndHandle(TagStatus requiredTagStatus, String id
329329
yield true;
330330
}
331331
case TagStatus.NOT_EXISTS -> false;
332-
default -> throw new IllegalStateException(
333-
"Unknown tag status '%s'".formatted(requiredTagStatus));
334332
};
335333
}
336334

0 commit comments

Comments
 (0)