mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Merge branch '4.1.x'
Closes gh-51646
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
CREATE TABLE CITY (
|
||||
id INTEGER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
|
||||
name VARCHAR(30),
|
||||
country VARCHAR(30)
|
||||
country VARCHAR(30)
|
||||
);
|
||||
""")
|
||||
class DataRepositoryMetricsAutoConfigurationIntegrationTests {
|
||||
|
||||
+3
-3
@@ -67,9 +67,9 @@ import static org.mockito.Mockito.mock;
|
||||
CREATE TABLE CITY (
|
||||
id INTEGER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
|
||||
name VARCHAR(30),
|
||||
state VARCHAR(30),
|
||||
country VARCHAR(30),
|
||||
map VARCHAR(30)
|
||||
state VARCHAR(30),
|
||||
country VARCHAR(30),
|
||||
map VARCHAR(30)
|
||||
);
|
||||
""")
|
||||
@WithResource(name = "data.sql",
|
||||
|
||||
+3
-3
@@ -53,9 +53,9 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
CREATE TABLE CITY (
|
||||
id INTEGER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
|
||||
name VARCHAR(30),
|
||||
state VARCHAR(30),
|
||||
country VARCHAR(30),
|
||||
map VARCHAR(30)
|
||||
state VARCHAR(30),
|
||||
country VARCHAR(30),
|
||||
map VARCHAR(30)
|
||||
);
|
||||
""")
|
||||
@WithResource(name = "data.sql",
|
||||
|
||||
+1
-1
@@ -78,7 +78,7 @@ class HazelcastClientConfigAvailableCondition extends HazelcastConfigResourceCon
|
||||
private static String existingConfigurationOutcome(Resource resource, boolean client) throws IOException {
|
||||
URL location = resource.getURL();
|
||||
return client ? "Hazelcast client configuration detected at '" + location + "'"
|
||||
: "Hazelcast server configuration detected at '" + location + "'";
|
||||
: "Hazelcast server configuration detected at '" + location + "'";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+3
-3
@@ -145,9 +145,9 @@ class HibernateMetricsAutoConfigurationTests {
|
||||
CREATE TABLE CITY (
|
||||
id INTEGER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
|
||||
name VARCHAR(30),
|
||||
state VARCHAR(30),
|
||||
country VARCHAR(30),
|
||||
map VARCHAR(30)
|
||||
state VARCHAR(30),
|
||||
country VARCHAR(30),
|
||||
map VARCHAR(30)
|
||||
);
|
||||
""")
|
||||
@WithResource(name = "city-data.sql",
|
||||
|
||||
+1
-1
@@ -194,7 +194,7 @@ class Saml2RelyingPartyRegistrationConfiguration {
|
||||
|
||||
private X509Certificate readCertificate(@Nullable Resource location) {
|
||||
Assert.state(location != null, "No certificate location specified");
|
||||
Assert.state(location.exists(), () -> "Certificate location '" + location + "' does not exist");
|
||||
Assert.state(location.exists(), () -> "Certificate location '" + location + "' does not exist");
|
||||
try (InputStream inputStream = location.getInputStream()) {
|
||||
PemContent pemContent = PemContent.load(inputStream);
|
||||
List<X509Certificate> certificates = pemContent.getCertificates();
|
||||
|
||||
Reference in New Issue
Block a user