Skip to content

Commit 478519a

Browse files
committed
refactor(recruit-board): sonar qube 이슈 해결
1 parent fddf9ce commit 478519a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main/java/com/somemore/recruitboard/repository/RecruitBoardRepositoryImpl.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public class RecruitBoardRepositoryImpl implements RecruitBoardRepository {
3737
// private final RecruitBoardDocumentRepository documentRepository;
3838
private final JPAQueryFactory queryFactory;
3939

40-
private final static QRecruitBoard recruitBoard = QRecruitBoard.recruitBoard;
41-
private final static QLocation location = QLocation.location;
42-
private final static QCenter center = QCenter.center;
40+
private static final QRecruitBoard recruitBoard = QRecruitBoard.recruitBoard;
41+
private static final QLocation location = QLocation.location;
42+
private static final QCenter center = QCenter.center;
4343

4444
@Override
4545
public RecruitBoard save(RecruitBoard recruitBoard) {
@@ -309,7 +309,6 @@ private BooleanExpression isNotDeleted() {
309309
}
310310

311311
private BooleanExpression isNotCompleted() {
312-
QRecruitBoard recruitBoard = QRecruitBoard.recruitBoard;
313312
return recruitBoard.recruitStatus.in(RecruitStatus.RECRUITING, RecruitStatus.CLOSED);
314313
}
315314

0 commit comments

Comments
 (0)