-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2c2cea
commit 09f1c05
Showing
3 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/main/java/sixgaezzang/sidepeek/comments/exception/message/CommentErrorMessage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package sixgaezzang.sidepeek.comments.exception.message; | ||
|
||
import static sixgaezzang.sidepeek.comments.util.CommentConstant.MAX_COMMENT_LENGTH; | ||
|
||
public class CommentErrorMessage { | ||
// isAnonymous | ||
public static final String IS_ANONYMOUS_IS_NULL = "익명 댓글 여부를 입력해주세요."; | ||
|
||
// content | ||
public static final String CONTENT_IS_NULL = "댓글 내용을 입력해주세요."; | ||
public static final String CONTENT_OVER_MAX_LENGTH = "댓글은 " + MAX_COMMENT_LENGTH + "자 이하여야 합니다."; | ||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/sixgaezzang/sidepeek/comments/util/CommentConstant.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package sixgaezzang.sidepeek.comments.util; | ||
|
||
public class CommentConstant { | ||
public static final int MAX_COMMENT_LENGTH = 300; | ||
} |