From 15fbb8ddf9467aa36932ca3bddb5abacef9dbc78 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 20 Oct 2015 13:57:21 -0700 Subject: [PATCH] Polish --- .../boot/autoconfigure/jersey/JerseyAutoConfiguration.java | 4 ++-- .../boot/autoconfigure/jersey/JerseyProperties.java | 4 ++-- .../java/org/springframework/boot/bind/RelaxedDataBinder.java | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration.java index cabb7ace0d..6793b95825 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration.java @@ -83,8 +83,8 @@ public class JerseyAutoConfiguration implements WebApplicationInitializer { this.path = parseApplicationPath(this.jersey.getApplicationPath()); } else { - this.path = findApplicationPath(AnnotationUtils.findAnnotation(this.config.getClass(), - ApplicationPath.class)); + this.path = findApplicationPath(AnnotationUtils + .findAnnotation(this.config.getClass(), ApplicationPath.class)); } } diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyProperties.java index 1bfcf2f026..4451ce4201 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyProperties.java @@ -44,8 +44,8 @@ public class JerseyProperties { private Filter filter = new Filter(); /** - * Path that serves as the base URI for the application. Overrides - * the value of "@ApplicationPath" if specified. + * Path that serves as the base URI for the application. Overrides the value of + * "@ApplicationPath" if specified. */ private String applicationPath; diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedDataBinder.java b/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedDataBinder.java index 06f9555428..02407f2ac9 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedDataBinder.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedDataBinder.java @@ -313,7 +313,8 @@ public class RelaxedDataBinder extends DataBinder { return false; } if (Properties.class.isAssignableFrom(descriptor.getObjectType())) { - // Properties is declared as Map but we know it's really Map + // Properties is declared as Map but we know it's really + // Map return true; } Class valueType = descriptor.getMapValueTypeDescriptor().getObjectType();