Skip to content

Commit

Permalink
refactor: spotlessApply 적용 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepyhoon authored Jul 27, 2024
1 parent 3cea371 commit 3b5b8d2
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.goldbalance.dive.domain.article.controller;

public class ArticleController {
}
public class ArticleController {}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
@Getter
@RequiredArgsConstructor
public class Answer {
@Id @GeneratedValue(strategy = GenerationType.IDENTITY)
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "answer_id")
private Long id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
import jakarta.persistence.*;
import lombok.*;

import java.util.List;

@Entity
@Getter
@RequiredArgsConstructor
public class Article {
@Id @GeneratedValue
@Id
@GeneratedValue
@Column(name = "article_id")
private Long id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import jakarta.persistence.*;
import lombok.*;
import org.springframework.data.convert.ReadingConverter;

/**
* <br>package name : com.goldbalance.dive.domain.article.domain
Expand All @@ -29,7 +28,8 @@
@Getter
@RequiredArgsConstructor
public class ArticleContent {
@Id @GeneratedValue
@Id
@GeneratedValue
private Long id;

@Column(name = "subtitle")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
import jakarta.persistence.*;
import lombok.*;

import java.util.List;

@Entity
@Getter
@RequiredArgsConstructor
public class Quiz {
@Id @GeneratedValue
@Id
@GeneratedValue
@Column(name = "quiz_id")
private Long id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
import com.goldbalance.dive.domain.article.domain.Article;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ArticleRepository extends JpaRepository<Article, Long> {
}
public interface ArticleRepository extends JpaRepository<Article, Long> {}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.goldbalance.dive.domain.article.service;

public class ArticleService {
}
public class ArticleService {}

0 comments on commit 3b5b8d2

Please sign in to comment.