From 4b13819157fe5b1748c78a372873a2e1a8d5e8b7 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Fri, 18 Sep 2020 11:13:51 +0300 Subject: [PATCH] Minor clean-up: remove redundant parameter Signed-off-by: Pekka Helenius --- .../main/java/com/fjordtek/bookstore/web/BookController.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java b/bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java index 82003ad..bb4e893 100644 --- a/bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java +++ b/bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java @@ -60,7 +60,7 @@ public class BookController { @ModelAttribute public void globalAttributes(Model dataModel) { - // Security implications of adding these all? + // Security implications of adding these all controller-wide? dataModel.addAllAttributes(globalModelMap); } @@ -115,7 +115,6 @@ public class BookController { public String webFormSaveNewBook( @Valid @ModelAttribute("book") Book book, BindingResult bindingResult, - Model dataModel, HttpServletRequest requestData ) {