문자내용 null체크
This commit is contained in:
parent
f35ae64aa6
commit
6540db465c
@ -449,7 +449,11 @@ public final class MsgSendUtils {
|
||||
}
|
||||
|
||||
private static Boolean getReplaceYN(String smsTxtTemplate) {// 여러 치환 구문이 포함된 정규식 패턴
|
||||
|
||||
|
||||
if (smsTxtTemplate == null) {
|
||||
return false; // null일 경우 false 반환
|
||||
}
|
||||
|
||||
Boolean replaceYN = false;
|
||||
|
||||
Pattern pattern = Pattern.compile("\\[\\*이름\\*\\]|\\[\\*1\\*\\]|\\[\\*2\\*\\]|\\[\\*3\\*\\]|\\[\\*4\\*\\]");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user