mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Remove redundant whitespace
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com> See gh-51644
This commit is contained in:
committed by
Andy Wilkinson
parent
3b5706b397
commit
fd7a52b954
+1
-1
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -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 + "'";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user