chore: CareersController 주석 추가

This commit is contained in:
2026-04-21 10:52:24 +09:00
parent 22204a48a1
commit 406fd658db

View File

@@ -26,7 +26,7 @@ import java.util.Set;
@RequestMapping("/careers/recruitment")
@RequiredArgsConstructor
public class CareersController {
//테스트1
private static final long MAX_FILE_SIZE = 10 * 1024 * 1024L;
private static final Set<String> ALLOWED_EXT = Set.of(
"pdf", "doc", "docx", "hwp", "hwpx", "ppt", "pptx", "txt", "zip"
@@ -123,7 +123,7 @@ public class CareersController {
return "파일이 손상되었거나 내용이 없습니다.";
}
}
return switch (ext) {
case "pdf" -> startsWith(header, MAGIC_PDF)
? null : "PDF 파일 형식이 올바르지 않습니다.";