diff --git a/spring-all/pom.xml b/spring-all/pom.xml
index 17226266fb..e7184953ff 100644
--- a/spring-all/pom.xml
+++ b/spring-all/pom.xml
@@ -10,7 +10,7 @@
org.springframework.boot
spring-boot-starter-parent
- 1.2.5.RELEASE
+ 1.2.6.RELEASE
diff --git a/spring-boot/pom.xml b/spring-boot/pom.xml
index 57807ead74..3a116a2974 100644
--- a/spring-boot/pom.xml
+++ b/spring-boot/pom.xml
@@ -11,7 +11,7 @@
org.springframework.boot
spring-boot-starter-parent
- 1.2.5.RELEASE
+ 1.2.6.RELEASE
diff --git a/spring-security-login-and-registration/pom.xml b/spring-security-login-and-registration/pom.xml
index 0bd539b68c..c1903177da 100644
--- a/spring-security-login-and-registration/pom.xml
+++ b/spring-security-login-and-registration/pom.xml
@@ -12,7 +12,7 @@
org.springframework.boot
spring-boot-starter-parent
- 1.2.5.RELEASE
+ 1.2.6.RELEASE
diff --git a/spring-security-rest-full/pom.xml b/spring-security-rest-full/pom.xml
index 7a219288de..596efb7569 100644
--- a/spring-security-rest-full/pom.xml
+++ b/spring-security-rest-full/pom.xml
@@ -10,7 +10,7 @@
org.springframework.boot
spring-boot-starter-parent
- 1.2.5.RELEASE
+ 1.2.6.RELEASE
diff --git a/spring-security-rest-full/src/main/java/org/baeldung/web/controller/FooController.java b/spring-security-rest-full/src/main/java/org/baeldung/web/controller/FooController.java
index 6b28a081d2..20307447b2 100644
--- a/spring-security-rest-full/src/main/java/org/baeldung/web/controller/FooController.java
+++ b/spring-security-rest-full/src/main/java/org/baeldung/web/controller/FooController.java
@@ -1,6 +1,9 @@
package org.baeldung.web.controller;
-import com.google.common.base.Preconditions;
+import java.util.List;
+
+import javax.servlet.http.HttpServletResponse;
+
import org.baeldung.persistence.model.Foo;
import org.baeldung.persistence.service.IFooService;
import org.baeldung.web.exception.MyResourceNotFoundException;
@@ -14,11 +17,16 @@ import org.springframework.data.domain.Page;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.ResponseBody;
+import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.util.UriComponentsBuilder;
-import javax.servlet.http.HttpServletResponse;
-import java.util.List;
+import com.google.common.base.Preconditions;
@Controller
@RequestMapping(value = "/foos")
@@ -81,7 +89,7 @@ public class FooController {
@ResponseBody
public Foo create(@RequestBody final Foo resource, final HttpServletResponse response) {
Preconditions.checkNotNull(resource);
- Foo foo = service.create(resource);
+ final Foo foo = service.create(resource);
final Long idOfCreatedResource = foo.getId();
eventPublisher.publishEvent(new ResourceCreatedEvent(this, response, idOfCreatedResource));
@@ -105,7 +113,7 @@ public class FooController {
@RequestMapping(method = RequestMethod.HEAD)
@ResponseStatus(HttpStatus.OK)
- public void head(HttpServletResponse resp) {
+ public void head(final HttpServletResponse resp) {
resp.setContentType(MediaType.APPLICATION_JSON_VALUE);
resp.setHeader("bar", "baz");
}