Skip to content

Commit 8997143

Browse files
committed
Fix checkstyle violations
1 parent 9f4f229 commit 8997143

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ public void path() {
115115
private void resolveApplicationPath() {
116116
if (StringUtils.hasLength(this.jersey.getApplicationPath())) {
117117
this.path = parseApplicationPath(this.jersey.getApplicationPath());
118-
} else {
118+
}
119+
else {
119120
this.path = findApplicationPath(
120121
AnnotationUtils.findAnnotation(this.config.getApplication().getClass(), ApplicationPath.class));
121122
}

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaProperties.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ private Map<String, Object> buildCommonProperties() {
153153
* <p>
154154
* This allows you to add additional properties, if necessary, and override the
155155
* default kafkaConsumerFactory bean.
156-
*
157156
* @return the consumer properties initialized with the customizations defined
158157
* on this instance
159158
*/
@@ -168,7 +167,6 @@ public Map<String, Object> buildConsumerProperties() {
168167
* <p>
169168
* This allows you to add additional properties, if necessary, and override the
170169
* default kafkaProducerFactory bean.
171-
*
172170
* @return the producer properties initialized with the customizations defined
173171
* on this instance
174172
*/
@@ -181,7 +179,8 @@ public Map<String, Object> buildProducerProperties() {
181179
private static String resourceToPath(Resource resource) {
182180
try {
183181
return resource.getFile().getAbsolutePath();
184-
} catch (IOException ex) {
182+
}
183+
catch (IOException ex) {
185184
throw new IllegalStateException("Resource '" + resource + "' must be on a file system", ex);
186185
}
187186
}

0 commit comments

Comments
 (0)