Skip to content

Commit 55ef77b

Browse files
committed
Remove unnecessary call to ex.printStackTrace
Closes gh-42681
1 parent 0a3418c commit 55ef77b

File tree

1 file changed

+1
-2
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc

1 file changed

+1
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceProperties.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2024 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.
@@ -199,7 +199,6 @@ private boolean driverClassIsLoadable() {
199199
throw ex;
200200
}
201201
catch (Throwable ex) {
202-
ex.printStackTrace();
203202
return false;
204203
}
205204
}

0 commit comments

Comments
 (0)