Merge branch '4.1.x'

Closes gh-51646
This commit is contained in:
Andy Wilkinson
2026-09-09 10:37:59 +01:00
7 changed files with 13 additions and 13 deletions
@@ -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 {
@@ -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",
@@ -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",
@@ -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 + "'";
}
}
@@ -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",
@@ -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();