From 448edad14c4976ab7ac1dfdd6bbcf0f7b62efa6a Mon Sep 17 00:00:00 2001 From: Dmitry Isaenko Date: Thu, 11 Jan 2024 21:55:19 +0300 Subject: [PATCH] correct Book field access type --- src/main/java/ru/redrise/marinesco/BookController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;