Skip to content

Commit

Permalink
Style: 코드 리포매팅
Browse files Browse the repository at this point in the history
  • Loading branch information
onetuks committed Dec 13, 2023
1 parent 9794267 commit cfd0daa
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import jakarta.persistence.Table;
import java.util.Map;
import lombok.Getter;
import org.guzzing.studayserver.domain.review.model.Review;
import org.guzzing.studayserver.domain.review.model.ReviewType;

@Getter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import org.guzzing.studayserver.domain.academy.model.ReviewCount;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

public interface ReviewCountJpaRepository extends JpaRepository<ReviewCount, Long>, ReviewCountRepository {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import io.hypersistence.utils.hibernate.type.json.JsonType;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.FetchType;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.stream.Collectors;
import javax.lang.model.type.IntersectionType;
import javax.swing.text.StyledEditorKit.BoldAction;
import org.guzzing.studayserver.domain.review.service.dto.request.ReviewPostParam;

public enum ReviewType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@
import org.guzzing.studayserver.domain.academy.model.ReviewCount;
import org.guzzing.studayserver.domain.academy.repository.academy.AcademyRepository;
import org.guzzing.studayserver.domain.academy.repository.review.ReviewCountRepository;
import org.guzzing.studayserver.domain.member.model.Member;
import org.guzzing.studayserver.domain.member.repository.MemberRepository;
import org.guzzing.studayserver.domain.review.controller.dto.request.ReviewPostRequest;
import org.guzzing.studayserver.domain.review.fixture.ReviewFixture;
import org.guzzing.studayserver.domain.review.repository.ReviewRepository;
import org.guzzing.studayserver.testutil.JwtTestConfig;
import org.guzzing.studayserver.testutil.WithMockCustomOAuth2LoginUser;
import org.guzzing.studayserver.testutil.fixture.academy.AcademyFixture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@

public class ReviewFixture {

public static ReviewPostParam makeReviewPostParam(final long memberId, final long academyId, final Map<ReviewType, Boolean> reviewMap) {
public static ReviewPostParam makeReviewPostParam(final long memberId, final long academyId,
final Map<ReviewType, Boolean> reviewMap) {
ReviewPostRequest request = makeReviewPostRequest(academyId, reviewMap);

return ReviewPostRequest.to(memberId, request);
}

public static ReviewPostRequest makeReviewPostRequest(final long academyId, final Map<ReviewType, Boolean> reviewMap) {
public static ReviewPostRequest makeReviewPostRequest(final long academyId,
final Map<ReviewType, Boolean> reviewMap) {
return new ReviewPostRequest(
academyId,
reviewMap.get(KINDNESS),
Expand Down

0 comments on commit cfd0daa

Please sign in to comment.