Skip to content

Commit

Permalink
⚙️ :: (#hotfix) string
Browse files Browse the repository at this point in the history
  • Loading branch information
tedsoftj1123 committed Nov 22, 2023
1 parent 4c858ad commit 2a5c8dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static <E> String joinStringList(List<E> request, String key) {
}

public static List<String> divideString(String content, String key) {
if (content == null || content.isEmpty()) {
if (content == null || content.isEmpty() || content.isBlank()) {
return List.of();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public void deleteRecruitArea(@PathVariable("recruit-area-id") Long recruitAreaI

private List<Long> parseCodes(String jobCode, String techCodes) {
List<String> codes = new ArrayList<>(StringUtil.divideString(techCodes, ","));
if (jobCode != null) codes.add(jobCode);
if (jobCode!= null && !jobCode.isBlank()) codes.add(jobCode);

try {
return codes.stream()
Expand Down

0 comments on commit 2a5c8dd

Please sign in to comment.