Skip to content

Commit

Permalink
♻️ remove unnecessary annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxrxn committed Jul 24, 2024
1 parent 7bab457 commit 7db971a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import net.pengcook.category.domain.CategoryRecipe;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface CategoryRecipeRepository extends JpaRepository<CategoryRecipe, Long> {
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
import java.util.Optional;
import net.pengcook.category.domain.Category;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface CategoryRepository extends JpaRepository<Category, Long> {

Optional<Category> findByName(String name);
Expand Down

0 comments on commit 7db971a

Please sign in to comment.