Skip to content

Commit 3968a49

Browse files
committed
Merge pull request #43483 from quaff
* pr/43483: Polish variable name for consistency Closes gh-43483
2 parents 709b9bb + a964bbd commit 3968a49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/h2/H2ConsoleAutoConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ public ServletRegistrationBean<JakartaWebServlet> h2Console() {
7575
}
7676

7777
@Bean
78-
H2ConsoleLogger h2ConsoleLogger(ObjectProvider<DataSource> dataSource) {
79-
return new H2ConsoleLogger(dataSource, this.properties.getPath());
78+
H2ConsoleLogger h2ConsoleLogger(ObjectProvider<DataSource> dataSources) {
79+
return new H2ConsoleLogger(dataSources, this.properties.getPath());
8080
}
8181

8282
private void configureH2ConsoleSettings(ServletRegistrationBean<JakartaWebServlet> registration,

0 commit comments

Comments
 (0)