Remove redundant whitespace

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>

See gh-51644
This commit is contained in:
Tran Ngoc Nhan
2026-09-09 10:00:23 +01:00
committed by Andy Wilkinson
parent 3b5706b397
commit fd7a52b954
3 changed files with 3 additions and 3 deletions
@@ -19,7 +19,7 @@ package org.test;
public class SampleApplication { public class SampleApplication {
public static void main(String[] args) { public static void main(String[] args) {
String workingDirectory = System.getProperty("user.dir"); String workingDirectory = System.getProperty("user.dir");
System.out.println(String.format("I haz been run from %s", workingDirectory)); System.out.println(String.format("I haz been run from %s", workingDirectory));
} }
@@ -78,7 +78,7 @@ class HazelcastClientConfigAvailableCondition extends HazelcastConfigResourceCon
private static String existingConfigurationOutcome(Resource resource, boolean client) throws IOException { private static String existingConfigurationOutcome(Resource resource, boolean client) throws IOException {
URL location = resource.getURL(); URL location = resource.getURL();
return client ? "Hazelcast client configuration detected at '" + location + "'" return client ? "Hazelcast client configuration detected at '" + location + "'"
: "Hazelcast server configuration detected at '" + location + "'"; : "Hazelcast server configuration detected at '" + location + "'";
} }
} }
@@ -188,7 +188,7 @@ class Saml2RelyingPartyRegistrationConfiguration {
private X509Certificate readCertificate(@Nullable Resource location) { private X509Certificate readCertificate(@Nullable Resource location) {
Assert.state(location != null, "No certificate location specified"); 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()) { try (InputStream inputStream = location.getInputStream()) {
PemContent pemContent = PemContent.load(inputStream); PemContent pemContent = PemContent.load(inputStream);
List<X509Certificate> certificates = pemContent.getCertificates(); List<X509Certificate> certificates = pemContent.getCertificates();