Skip to content

Commit

Permalink
Fix: 빌드 오류 수정 - 사용하지않는 파일 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
BYEONGRYEOL committed Jun 1, 2024
1 parent 92fec02 commit 56b895c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
package com.gt.genti.domain.enums.converter;

import org.springframework.http.HttpStatus;
import org.springframework.http.HttpStatusCode;

import com.gt.genti.domain.enums.ConvertableEnum;
import com.gt.genti.error.DynamicException;
import com.gt.genti.error.ErrorCode;
import com.gt.genti.error.ExpectedException;

Expand All @@ -20,13 +16,13 @@ public class DefaultStringAttributeConverter<T extends Enum<T> & ConvertableEnum

@Override
public String convertToDatabaseColumn(T attribute) {
try{
try {
return attribute.getStringValue();
} catch (NullPointerException e){
if(enumClassType.getEnumConstants()[0].isNullable()){
} catch (NullPointerException e) {
if (enumClassType.getEnumConstants()[0].isNullable()) {
return null;
} else{
throw new ExpectedException(ErrorCode.NotNullableEnum,enumClassType.getName());
} else {
throw new ExpectedException(ErrorCode.NotNullableEnum, enumClassType.getName());
}
}
}
Expand Down
13 changes: 0 additions & 13 deletions src/main/java/com/gt/genti/other/util/PageUtils.java

This file was deleted.

0 comments on commit 56b895c

Please sign in to comment.