diff --git a/README.md b/README.md
index b893240..8c63514 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ As you interact with the web-application ([http://localhost:3333](http://localho
in the second and third windows.
1. In a new window, run up a second account-server using HTTP port 2223:
- * `java -jar target/microservice-demo-0.0.1-SNAPSHOT.jar accounts 2223`
+ * `java -jar target/microservice-demo-1.1.0-SNAPSHOT.jar accounts 2223`
1. Allow it to register itself
1. Kill the first account-server and see the web-server switch to using the new account-server - no loss of service.
diff --git a/pom.xml b/pom.xml
index 80c5c4c..436422b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
org.springframework.cloud
spring-cloud-starter-parent
- Brixton.RELEASE
+ Camden.SR7
diff --git a/src/main/java/io/pivotal/microservices/services/web/WebAccountsController.java b/src/main/java/io/pivotal/microservices/services/web/WebAccountsController.java
index 8b9242d..ffe79dd 100644
--- a/src/main/java/io/pivotal/microservices/services/web/WebAccountsController.java
+++ b/src/main/java/io/pivotal/microservices/services/web/WebAccountsController.java
@@ -17,19 +17,16 @@
import org.springframework.web.bind.annotation.RequestMethod;
/**
- * Client controller, fetches Account info from the microservice via
- * {@link WebAccountsService}.
+ * Client controller, fetches Account info from the microservice via {@link WebAccountsService}.
*
* @author Paul Chapman
*/
@Controller
public class WebAccountsController {
-
@Autowired
protected WebAccountsService accountsService;
- protected Logger logger = Logger.getLogger(WebAccountsController.class
- .getName());
+ protected Logger logger = Logger.getLogger(WebAccountsController.class.getName());
public WebAccountsController(WebAccountsService accountsService) {
this.accountsService = accountsService;
@@ -46,8 +43,7 @@ public String goHome() {
}
@RequestMapping("/accounts/{accountNumber}")
- public String byNumber(Model model,
- @PathVariable("accountNumber") String accountNumber) {
+ public String byNumber(Model model, @PathVariable("accountNumber") String accountNumber) {
logger.info("web-service byNumber() invoked: " + accountNumber);
@@ -76,8 +72,7 @@ public String searchForm(Model model) {
}
@RequestMapping(value = "/accounts/dosearch")
- public String doSearch(Model model, SearchCriteria criteria,
- BindingResult result) {
+ public String doSearch(Model model, SearchCriteria criteria, BindingResult result) {
logger.info("web-service search() invoked: " + criteria);
criteria.validate(result);