Skip to content

Commit 13dcacc

Browse files
committed
Formatting
1 parent 40723c6 commit 13dcacc

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

module/spring-boot-webflux/src/main/java/org/springframework/boot/webflux/autoconfigure/ApiVersionCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
import org.springframework.web.reactive.config.ApiVersionConfigurer;
2020

2121
/**
22-
* Customizer that can be used to modify the auto-configured
23-
* {@link ApiVersionConfigurer}
22+
* Customizer that can be used to modify the auto-configured {@link ApiVersionConfigurer}
2423
*
2524
* @author Spencer Gibb
2625
* @since 4.0.0
@@ -32,4 +31,5 @@ public interface ApiVersionCustomizer {
3231
* @param apiVersionConfigurer the configurer to customize
3332
*/
3433
void customize(ApiVersionConfigurer apiVersionConfigurer);
34+
3535
}

module/spring-boot-webflux/src/test/java/org/springframework/boot/webflux/autoconfigure/WebFluxAutoConfigurationTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,8 @@ void apiVersionBeansAreInjected() {
896896
assertThat(versionStrategy).extracting("deprecationHandler")
897897
.isEqualTo(context.getBean(ApiVersionDeprecationHandler.class));
898898
assertThat(versionStrategy).extracting("versionParser").isEqualTo(context.getBean(ApiVersionParser.class));
899-
assertThat(versionStrategy).extracting("supportedVersionPredicate").isEqualTo(context.getBean(ApiVersionCustomizer.class));
899+
assertThat(versionStrategy).extracting("supportedVersionPredicate")
900+
.isEqualTo(context.getBean(ApiVersionCustomizer.class));
900901
});
901902
}
902903

module/spring-boot-webmvc/src/main/java/org/springframework/boot/webmvc/autoconfigure/ApiVersionCustomizer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@
1616

1717
package org.springframework.boot.webmvc.autoconfigure;
1818

19-
2019
import org.springframework.web.servlet.config.annotation.ApiVersionConfigurer;
2120

2221
/**
23-
* Customizer that can be used to modify the auto-configured
24-
* {@link ApiVersionConfigurer}
22+
* Customizer that can be used to modify the auto-configured {@link ApiVersionConfigurer}
2523
*
2624
* @author Spencer Gibb
2725
* @since 4.0.0
@@ -33,4 +31,5 @@ public interface ApiVersionCustomizer {
3331
* @param apiVersionConfigurer the configurer to customize
3432
*/
3533
void customize(ApiVersionConfigurer apiVersionConfigurer);
34+
3635
}

module/spring-boot-webmvc/src/test/java/org/springframework/boot/webmvc/autoconfigure/WebMvcAutoConfigurationTests.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,8 @@ void apiVersionBeansAreInjected() {
11011101
assertThat(versionStrategy).extracting("deprecationHandler")
11021102
.isEqualTo(context.getBean(ApiVersionDeprecationHandler.class));
11031103
assertThat(versionStrategy).extracting("versionParser").isEqualTo(context.getBean(ApiVersionParser.class));
1104-
assertThat(versionStrategy).extracting("supportedVersionPredicate").isEqualTo(context.getBean(ApiVersionCustomizer.class));
1104+
assertThat(versionStrategy).extracting("supportedVersionPredicate")
1105+
.isEqualTo(context.getBean(ApiVersionCustomizer.class));
11051106
});
11061107
}
11071108

@@ -1688,6 +1689,7 @@ ApiVersionParser<String> apiVersionParser() {
16881689
ApiVersionCustomizer apiVersionCustomizer() {
16891690
return configurer -> configurer.setSupportedVersionPredicate(comparable -> true);
16901691
}
1692+
16911693
}
16921694

16931695
}

0 commit comments

Comments
 (0)