chore: Suppress null warnings in CategoryRepository
This commit is contained in:
parent
7554eefae4
commit
d48f9da2b7
@ -11,8 +11,10 @@ public interface CategoryRepository extends JpaRepository<Category, UUID>{
|
|||||||
|
|
||||||
Category getCategoryById(UUID id);
|
Category getCategoryById(UUID id);
|
||||||
|
|
||||||
|
@SuppressWarnings("null")
|
||||||
List<Category> findAll();
|
List<Category> findAll();
|
||||||
List<Category> findByName(String name);
|
List<Category> findByName(String name);
|
||||||
|
@SuppressWarnings("null")
|
||||||
Optional<Category> findById(UUID id);
|
Optional<Category> findById(UUID id);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user