--- src/main/java/itn/com/cmm/util/MsgSendUtils.java
+++ src/main/java/itn/com/cmm/util/MsgSendUtils.java
... | ... | @@ -449,7 +449,11 @@ |
| 449 | 449 |
} |
| 450 | 450 |
|
| 451 | 451 |
private static Boolean getReplaceYN(String smsTxtTemplate) {// 여러 치환 구문이 포함된 정규식 패턴
|
| 452 |
- |
|
| 452 |
+ |
|
| 453 |
+ if (smsTxtTemplate == null) {
|
|
| 454 |
+ return false; // null일 경우 false 반환 |
|
| 455 |
+ } |
|
| 456 |
+ |
|
| 453 | 457 |
Boolean replaceYN = false; |
| 454 | 458 |
|
| 455 | 459 |
Pattern pattern = Pattern.compile("\\[\\*이름\\*\\]|\\[\\*1\\*\\]|\\[\\*2\\*\\]|\\[\\*3\\*\\]|\\[\\*4\\*\\]");
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?