Skip to content

Commit 5eb5bf0

Browse files
dreis2211snicoll
authored andcommitted
Polish
See gh-21009
1 parent 5b1b7bc commit 5eb5bf0

File tree

35 files changed

+70
-70
lines changed

35 files changed

+70
-70
lines changed

buildSrc/src/main/java/org/springframework/boot/build/optional/OptionalDependenciesPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void apply(Project project) {
5858
.all((javadoc) -> javadoc.setClasspath(javadoc.getClasspath().plus(optional)));
5959
});
6060
project.getPlugins().withType(EclipsePlugin.class,
61-
(eclipePlugin) -> project.getExtensions().getByType(EclipseModel.class)
61+
(eclipsePlugin) -> project.getExtensions().getByType(EclipseModel.class)
6262
.classpath((classpath) -> classpath.getPlusConfigurations().add(optional)));
6363
}
6464

buildSrc/src/test/java/org/springframework/boot/build/bom/bomr/version/DependencyVersionTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void parseWhenReleaseTrainShouldReturnReleaseTrainDependencyVersion() {
3838
}
3939

4040
@Test
41-
void parseWhenMavenLikeVersionWithNumericQualifieShouldReturnNumericQualifierDependencyVersion() {
41+
void parseWhenMavenLikeVersionWithNumericQualifierShouldReturnNumericQualifierDependencyVersion() {
4242
assertThat(DependencyVersion.parse("1.2.3.4")).isInstanceOf(NumericQualifierDependencyVersion.class);
4343
}
4444

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityProbesAutoConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void probesWhenPropertyEnabledAddsBeans() {
6464
}
6565

6666
@Test
67-
void probesWhenKuberntesAndPropertyDisabledAddsNotBeans() {
67+
void probesWhenKubernetesAndPropertyDisabledAddsNotBeans() {
6868
this.contextRunner
6969
.withPropertyValues("spring.main.cloud-platform=kubernetes", "management.health.probes.enabled=false")
7070
.run((context) -> assertThat(context).hasSingleBean(ApplicationAvailability.class)

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityProbesHealthEndpointGroupTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void showDetailsReturnsFalse() {
5656
}
5757

5858
@Test
59-
void getStatusAggregattorReturnsDefaultStatusAggregator() {
59+
void getStatusAggregatorReturnsDefaultStatusAggregator() {
6060
assertThat(this.group.getStatusAggregator()).isEqualTo(StatusAggregator.DEFAULT);
6161
}
6262

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityProbesHealthEndpointGroupsTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void getLivenessProbeHasOnlyLivenessStateAsMember() {
9696
}
9797

9898
@Test
99-
void getRedinessProbeHasOnlyReadinessStateAsMember() {
99+
void getReadinessProbeHasOnlyReadinessStateAsMember() {
100100
HealthEndpointGroups availabilityProbes = new AvailabilityProbesHealthEndpointGroups(this.delegate);
101101
HealthEndpointGroup probeGroup = availabilityProbes.get("readiness");
102102
assertThat(probeGroup.isMember("livenessState")).isFalse();

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/servlet/CloudFoundrySecurityServiceTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -76,7 +76,7 @@ void skipSslValidationWhenTrue() {
7676
}
7777

7878
@Test
79-
void doNotskipSslValidationWhenFalse() {
79+
void doNotSkipSslValidationWhenFalse() {
8080
RestTemplateBuilder builder = new RestTemplateBuilder();
8181
this.securityService = new CloudFoundrySecurityService(builder, CLOUD_CONTROLLER, false);
8282
RestTemplate restTemplate = (RestTemplate) ReflectionTestUtils.getField(this.securityService, "restTemplate");

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/health/AutoConfiguredHealthEndpointGroupsTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void createWhenNoDefinedBeansAdaptsProperties() {
103103
}
104104

105105
@Test
106-
void createWhenHasStatusAggregatorBeanReturnsInstanceWithAgregatorUsedForAllGroups() {
106+
void createWhenHasStatusAggregatorBeanReturnsInstanceWithAggregatorUsedForAllGroups() {
107107
this.contextRunner.withUserConfiguration(CustomStatusAggregatorConfiguration.class)
108108
.withPropertyValues("management.endpoint.health.status.order=up,down",
109109
"management.endpoint.health.group.a.include=*")

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/health/HealthIndicatorRegistryInjectionIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ static class Config {
6161
MeterRegistry registry) {
6262
CompositeHealthIndicator healthIndicator = new CompositeHealthIndicator(healthAggregator,
6363
healthIndicatorRegistry);
64-
Gauge.builder("health", healthIndicator, this::getGuageValue)
64+
Gauge.builder("health", healthIndicator, this::getGaugeValue)
6565
.description("Spring boot health indicator. 3=UP, 2=OUT_OF_SERVICE, 1=DOWN, 0=UNKNOWN")
6666
.strongReference(true).register(registry);
6767
}
6868

69-
private double getGuageValue(CompositeHealthIndicator health) {
69+
private double getGaugeValue(CompositeHealthIndicator health) {
7070
Status status = health.health().getStatus();
7171
switch (status.getCode()) {
7272
case "UP":

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/health/DefaultContributorRegistryTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -90,7 +90,7 @@ void registerContributorWhenContributorIsNullThrowsException() {
9090
}
9191

9292
@Test
93-
void registerContributorRegisteresContributors() {
93+
void registerContributorRegistersContributors() {
9494
this.registry.registerContributor("one", this.one);
9595
this.registry.registerContributor("two", this.two);
9696
assertThat(this.registry).hasSize(2);

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfigurationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -396,7 +396,7 @@ void withAsyncBootstrappingAnApplicationListenerThatUsesJpaDoesNotTriggerABeanCu
396396
}
397397

398398
@Test
399-
void whenLocalContanerEntityManagerFactoryBeanHasNoJpaVendorAdapterAutoConfigurationSucceeds() {
399+
void whenLocalContainerEntityManagerFactoryBeanHasNoJpaVendorAdapterAutoConfigurationSucceeds() {
400400
contextRunner()
401401
.withUserConfiguration(
402402
TestConfigurationWithLocalContainerEntityManagerFactoryBeanWithNoJpaVendorAdapter.class)

0 commit comments

Comments
 (0)