Skip to content

Commit 0a02479

Browse files
committed
Formatting
1 parent 1314aaa commit 0a02479

File tree

36 files changed

+59
-28
lines changed

36 files changed

+59
-28
lines changed

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpoint.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ public void serializeAsField(Object pojo, JsonGenerator jgen,
344344
}
345345
super.serializeAsField(pojo, jgen, provider, writer);
346346
}
347+
347348
}
348349

349350
/**
@@ -395,4 +396,5 @@ private AnnotatedMethod findSetter(BeanDescription beanDesc,
395396
}
396397

397398
}
399+
398400
}

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/DataSourcePublicMetrics.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ protected String createPrefix(String name, DataSource dataSource, boolean primar
104104
if (primary) {
105105
return "datasource.primary";
106106
}
107-
if (name.length() > DATASOURCE_SUFFIX.length()
108-
&& name.toLowerCase(Locale.ENGLISH).endsWith(DATASOURCE_SUFFIX.toLowerCase())) {
107+
if (name.length() > DATASOURCE_SUFFIX.length() && name.toLowerCase(Locale.ENGLISH)
108+
.endsWith(DATASOURCE_SUFFIX.toLowerCase())) {
109109
name = name.substring(0, name.length() - DATASOURCE_SUFFIX.length());
110110
}
111111
return "datasource." + name;

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/FlywayEndpoint.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public List<FlywayReport> invoke() {
7373
public static class FlywayReport {
7474

7575
private final String name;
76+
7677
private final List<FlywayMigration> migrations;
7778

7879
public FlywayReport(String name, List<FlywayMigration> migrations) {

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MvcEndpointSecurityInterceptor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ private boolean hasAuthority(String role) {
142142
}
143143
return false;
144144
}
145+
145146
}
146147

147148
}

spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcManagementContextConfigurationTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,20 +325,23 @@ static class TestMetricsMvcEndpoint extends MetricsMvcEndpoint {
325325
TestMetricsMvcEndpoint(MetricsEndpoint delegate) {
326326
super(delegate);
327327
}
328+
328329
}
329330

330331
static class TestAuditEventsMvcEndpoint extends AuditEventsMvcEndpoint {
331332

332333
TestAuditEventsMvcEndpoint(AuditEventRepository auditEventRepository) {
333334
super(auditEventRepository);
334335
}
336+
335337
}
336338

337339
static class TestShutdownMvcEndpoint extends ShutdownMvcEndpoint {
338340

339341
TestShutdownMvcEndpoint(ShutdownEndpoint delegate) {
340342
super(delegate);
341343
}
344+
342345
}
343346

344347
}

spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/mvc/HealthMvcEndpointTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,4 +277,5 @@ public void newValueIsReturnedOnceTtlExpires() throws InterruptedException {
277277
Health health = ((ResponseEntity<Health>) result).getBody();
278278
assertThat(health.getStatus() == Status.DOWN).isTrue();
279279
}
280+
280281
}

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfiguration.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ public CacheManagerCustomizers cacheManagerCustomizers(
7575

7676
@Bean
7777
public CacheManagerValidator cacheAutoConfigurationValidator(
78-
CacheProperties cacheProperties,
79-
ObjectProvider<CacheManager> cacheManager) {
78+
CacheProperties cacheProperties, ObjectProvider<CacheManager> cacheManager) {
8079
return new CacheManagerValidator(cacheProperties, cacheManager);
8180
}
8281

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/cassandra/CassandraDataAutoConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ public CassandraSessionFactoryBean session(CassandraConverter converter)
115115
session.setKeyspaceName(this.properties.getKeyspaceName());
116116
String name = this.propertyResolver.getProperty("schemaAction",
117117
SchemaAction.NONE.name());
118-
SchemaAction schemaAction = SchemaAction.valueOf(
119-
name.toUpperCase(Locale.ENGLISH));
118+
SchemaAction schemaAction = SchemaAction
119+
.valueOf(name.toUpperCase(Locale.ENGLISH));
120120
session.setSchemaAction(schemaAction);
121121
return session;
122122
}

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/integration/IntegrationAutoConfiguration.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ protected static class IntegrationManagementConfiguration {
120120
@Configuration
121121
@EnableIntegrationManagement(defaultCountsEnabled = "true", defaultStatsEnabled = "true")
122122
protected static class EnableIntegrationManagementConfiguration {
123+
123124
}
124125

125126
}

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/integration/IntegrationAutoConfigurationScanRegistrar.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public Map<String, Object> getAnnotationAttributes(String annotationName) {
7777
}
7878
return attributes;
7979
}
80+
8081
}
8182

8283
@IntegrationComponentScan

0 commit comments

Comments
 (0)