Browse Source

Minor clean-up: remove redundant parameter

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.1-alpha
Pekka Helenius 4 years ago
parent
commit
4b13819157
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java

+ 1
- 2
bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java View File

@ -60,7 +60,7 @@ public class BookController {
@ModelAttribute @ModelAttribute
public void globalAttributes(Model dataModel) { public void globalAttributes(Model dataModel) {
// Security implications of adding these all?
// Security implications of adding these all controller-wide?
dataModel.addAllAttributes(globalModelMap); dataModel.addAllAttributes(globalModelMap);
} }
@ -115,7 +115,6 @@ public class BookController {
public String webFormSaveNewBook( public String webFormSaveNewBook(
@Valid @ModelAttribute("book") Book book, @Valid @ModelAttribute("book") Book book,
BindingResult bindingResult, BindingResult bindingResult,
Model dataModel,
HttpServletRequest requestData HttpServletRequest requestData
) { ) {


Loading…
Cancel
Save