Skip to content

Commit e2d396c

Browse files
author
github-actions
committed
chore: Java 스타일 수정
1 parent 0c1e44c commit e2d396c

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

backend/src/main/java/io/f1/backend/domain/question/app/QuestionService.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ public void saveQuestion(Quiz quiz, QuestionRequest request) {
2929
quiz.addQuestion(question);
3030
questionRepository.save(question);
3131

32-
TextQuestion textQuestion =
33-
questionRequestToTextQuestion(question, request.getContent());
32+
TextQuestion textQuestion = questionRequestToTextQuestion(question, request.getContent());
3433
textQuestionRepository.save(textQuestion);
3534
question.addTextQuestion(textQuestion);
3635
}

backend/src/main/java/io/f1/backend/domain/quiz/entity/Quiz.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import jakarta.persistence.OneToMany;
1818

1919
import lombok.AccessLevel;
20-
import lombok.Builder;
2120
import lombok.Getter;
2221
import lombok.NoArgsConstructor;
2322

backend/src/main/java/io/f1/backend/domain/quiz/mapper/QuizMapper.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ public static Quiz quizCreateRequestToQuiz(
1212
QuizCreateRequest quizCreateRequest, String imgUrl, User user) {
1313

1414
return new Quiz(
15-
quizCreateRequest.getTitle(),
16-
quizCreateRequest.getDescription(),
17-
quizCreateRequest.getQuizType(),
18-
imgUrl,
19-
user // TODO : 이후 creator에 들어갈 User은 현재 로그인 중인 유저를 가져오도록 변경
20-
);
15+
quizCreateRequest.getTitle(),
16+
quizCreateRequest.getDescription(),
17+
quizCreateRequest.getQuizType(),
18+
imgUrl,
19+
user // TODO : 이후 creator에 들어갈 User은 현재 로그인 중인 유저를 가져오도록 변경
20+
);
2121
}
2222

2323
public static QuizCreateResponse quizToQuizCreateResponse(Quiz quiz) {

0 commit comments

Comments
 (0)