Skip to content

Commit 1e6779e

Browse files
committed
Apply suggestions from code review
1 parent 0c96da7 commit 1e6779e

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

backend/src/main/java/club/devcord/devmarkt/responses/failure/application/ErrorCode.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@ public enum ErrorCode implements club.devcord.devmarkt.responses.failure.ErrorCo
2727
ANSWER_TOO_SHORT,
2828
ALREADY_ACCEPTED,
2929
QUESTION_UNANSWERED,
30-
3130
TOO_LARGE
3231
}

backend/src/main/java/club/devcord/devmarkt/services/ApplicationService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ private void validateSize(Template template, List<Answer> answers, ArrayList<Err
140140
if (size > 5800) { // leave 200 chars for extra text
141141
errors.add(new Error<>(ErrorCode.TOO_LARGE, new TooLargeErrorData(size)));
142142
}
143-
144143
}
145144

146145
private void validateAndPrepareAnswers(ArrayList<Answer> answers,

0 commit comments

Comments
 (0)