장황하거나 중복 코드 구문, 코드 성숙도, 코드 스타일 이슈
This commit is contained in:
@@ -98,7 +98,7 @@ public class ExcelUtil {
|
||||
wb.write(responseOutputStream);
|
||||
wb.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
log.error("[ExcelUtil] generateWithoutPassword: {}", e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ public class CreateCellService implements CreateCellPortIn {
|
||||
// 셀 스타일 적용 (null 체크)
|
||||
if (cellConfig.getCellStyle() != null) {
|
||||
cell.setCellStyle(cellConfig.getCellStyle());
|
||||
} else {
|
||||
//} else {
|
||||
// TODO: cellConfig.getCellStyle()이 null인 경우, 워크북에서 새로운 스타일을 생성하거나 기본 스타일을 적용하는 로직 고려
|
||||
// XSSFWorkbook workbook = (XSSFWorkbook) sheet.getWorkbook();
|
||||
// cell.setCellStyle(workbook.createCellStyle());
|
||||
|
||||
@@ -34,9 +34,9 @@ class URICurrentMatchingService implements URICurrentMatchingPortIn {
|
||||
// {{pathVar}} 을 가진 URI 라면 배열검증 수행
|
||||
if (comparePath.endsWith("/{{pathVar}}")) {
|
||||
List<String> pathComponents =
|
||||
Arrays.stream(comparePath.split("/")).collect(Collectors.toList());
|
||||
Arrays.stream(comparePath.split("/")).toList();
|
||||
List<String> targetComponents =
|
||||
Arrays.stream(targetUri.split("/")).collect(Collectors.toList());
|
||||
Arrays.stream(targetUri.split("/")).toList();
|
||||
|
||||
if (pathComponents.size() != targetComponents.size()) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user