Skip to content

Commit

Permalink
Refactoring via sonalint
Browse files Browse the repository at this point in the history
  • Loading branch information
tape4 committed Nov 8, 2024
1 parent 737afcd commit 01c9647
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 40 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/CI_MVP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,9 @@ name: CI FOR MVP

on:
push:
branches:
- mvp/apply
- mvp/member
- mvp/career
- mvp/portfolio
- feature/record
- feature/home
- feature/recruit-tag
- feature/login
- feature/login-memberTest
- refactor/career
- feature/login-recruit
- fix/record
- feature/errorFix
- fix/credential
- feature/dashboard
- feature/career-refactor
branches-ignore:
- main
- develop

jobs:
CI:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ public class RecruitController {
private final ReviewService reviewService;
private final MemberService memberService;

// private final Member requestMember = Member.builder()
// .id(LoginUser.get().getId())
// .build();

@Operation(
summary = "지원 공고 생성",
description = "주어진 정보를 바탕으로 지원 공고 데이터를 생성합니다.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import umc.kkijuk.server.common.LoginUser;
import umc.kkijuk.server.login.argumentresolver.Login;
import umc.kkijuk.server.login.controller.dto.LoginInfo;
import umc.kkijuk.server.member.domain.Member;
import umc.kkijuk.server.member.service.MemberService;
import umc.kkijuk.server.recruit.controller.response.RecruitTagResponse;

import java.util.ArrayList;
import java.util.List;

@Tag(name = "recruitTag", description = "모집 공고 태그 API")
Expand All @@ -22,11 +20,6 @@
public class RecruitTagController {
private final MemberService memberService;

// private final Member requestMember = Member.builder()
// .id(LoginUser.get().getId())
// .recruitTags(new ArrayList<>(List.of("인턴", "정규직", "대외활동", "동아리")))
// .build();

@Operation(
summary = "지원 공고 태그",
description = "사용자의 지원 공고 태그 정보들을 요청합니다")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package umc.kkijuk.server.recruit.controller.port;

import org.springframework.transaction.annotation.Transactional;
import umc.kkijuk.server.member.domain.Member;
import umc.kkijuk.server.recruit.domain.*;

Expand All @@ -9,7 +8,6 @@
import java.util.List;

public interface RecruitService {
@Transactional
Recruit create(Member member, RecruitCreate recruitCreate);

Recruit update(Member member, Long recruitId, RecruitUpdate recruitUpdate);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package umc.kkijuk.server.recruit.controller.response;

import lombok.Builder;
import lombok.Getter;
import umc.kkijuk.server.recruit.domain.RecruitListByMonthDto;
import umc.kkijuk.server.recruit.domain.RecruitStatus;
import umc.kkijuk.server.recruit.domain.ValidRecruitDto;

import java.util.Map;
import java.util.function.Consumer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import lombok.Builder;
import lombok.Getter;
import umc.kkijuk.server.recruit.domain.RecruitListByMonthDto;
import umc.kkijuk.server.recruit.domain.RecruitStatus;

import java.util.ArrayList;
import java.util.Comparator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package umc.kkijuk.server.recruit.controller.response;

import lombok.Builder;
import lombok.Getter;
import umc.kkijuk.server.recruit.domain.ValidRecruitDto;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ public class ReviewController {
private final RecruitService recruitService;
private final MemberService memberService;

// private final Member requestMember = Member.builder()
// .id(LoginUser.get().getId())
// .build();

@Operation(
summary = "지원 공고 후기 추가",
description = "주어진 지원 공고에 후기를 생성합니다")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import lombok.AllArgsConstructor;
import lombok.Getter;
import umc.kkijuk.server.recruit.domain.RecruitStatus;
import umc.kkijuk.server.review.infrastructure.RecruitReviewDtoInterface;

import java.time.LocalDate;
import java.time.LocalDateTime;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package umc.kkijuk.server.review.domain;
package umc.kkijuk.server.review.infrastructure;

import org.springframework.beans.factory.annotation.Value;
import umc.kkijuk.server.recruit.domain.RecruitStatus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import umc.kkijuk.server.review.domain.RecruitReviewDtoInterface;

import java.util.List;

Expand Down

0 comments on commit 01c9647

Please sign in to comment.