correct Book field access type

This commit is contained in:
Dmitry Isaenko 2024-01-11 21:55:19 +03:00
parent 00f277797e
commit 448edad14c

View file

@ -12,7 +12,7 @@ import ru.redrise.marinesco.library.Book;
@Controller
@RequestMapping("/book")
public class BookController {
BookRepository bookRepository;
private BookRepository bookRepository;
public BookController(BookRepository bookRepository){
this.bookRepository = bookRepository;