Skip to content

Commit

Permalink
Upgrade to Spring Framework 5.3.27
Browse files Browse the repository at this point in the history
Closes gh-35497
  • Loading branch information
wilkinsona committed May 17, 2023
1 parent b00b2ea commit cf1dc6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -28,12 +28,12 @@
*/
class HikariDriverConfigurationFailureAnalyzer extends AbstractFailureAnalyzer<CannotGetJdbcConnectionException> {

private static final String EXPECTED_MESSAGE = "Failed to obtain JDBC Connection:"
+ " cannot use driverClassName and dataSourceClassName together.";
private static final String EXPECTED_MESSAGE = "cannot use driverClassName and dataSourceClassName together.";

@Override
protected FailureAnalysis analyze(Throwable rootFailure, CannotGetJdbcConnectionException cause) {
if (!EXPECTED_MESSAGE.equals(cause.getMessage())) {
Throwable subCause = cause.getCause();
if (subCause == null || !EXPECTED_MESSAGE.equals(subCause.getMessage())) {
return null;
}
return new FailureAnalysis(
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-project/spring-boot-dependencies/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,7 @@ bom {
]
}
}
library("Spring Framework", "5.3.20") {
library("Spring Framework", "5.3.27") {
group("org.springframework") {
imports = [
"spring-framework-bom"
Expand Down

0 comments on commit cf1dc6d

Please sign in to comment.