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 414aea4da05..c219ccdf653 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 @@ -115,7 +115,8 @@ public class JerseyAutoConfiguration implements ServletContextAware { private void resolveApplicationPath() { if (StringUtils.hasLength(this.jersey.getApplicationPath())) { this.path = parseApplicationPath(this.jersey.getApplicationPath()); - } else { + } + else { this.path = findApplicationPath( AnnotationUtils.findAnnotation(this.config.getApplication().getClass(), ApplicationPath.class)); } diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaProperties.java index 8fa779330e2..1dc2b402fdc 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaProperties.java @@ -153,7 +153,6 @@ public class KafkaProperties { *

* This allows you to add additional properties, if necessary, and override the * default kafkaConsumerFactory bean. - * * @return the consumer properties initialized with the customizations defined * on this instance */ @@ -168,7 +167,6 @@ public class KafkaProperties { *

* This allows you to add additional properties, if necessary, and override the * default kafkaProducerFactory bean. - * * @return the producer properties initialized with the customizations defined * on this instance */ @@ -181,7 +179,8 @@ public class KafkaProperties { private static String resourceToPath(Resource resource) { try { return resource.getFile().getAbsolutePath(); - } catch (IOException ex) { + } + catch (IOException ex) { throw new IllegalStateException("Resource '" + resource + "' must be on a file system", ex); } }