diff --git a/src/main/java/ru/redrise/marinesco/BookController.java b/src/main/java/ru/redrise/marinesco/BookController.java index dc7ae69..b73007d 100644 --- a/src/main/java/ru/redrise/marinesco/BookController.java +++ b/src/main/java/ru/redrise/marinesco/BookController.java @@ -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;