Skip to content

Commit f83689e

Browse files
committed
[refactor] cleanup left-over println
1 parent 9be69d2 commit f83689e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/org/jruby/ext/openssl/SSLContext.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -592,8 +592,6 @@ else if ( ciphers instanceof RubyArray ) {
592592
cipherString = CipherStrings.SSL_DEFAULT_CIPHER_LIST; // due caching
593593
}
594594

595-
System.out.println("cipherString: " + cipherString + " " + matchedCiphersWithCache(context, cipherString).isEmpty());
596-
597595
if ( matchedCiphersWithCache(context, cipherString).isEmpty() ) {
598596
throw newSSLError(context.runtime, "no cipher match");
599597
}
@@ -1135,7 +1133,7 @@ public java.security.cert.X509Certificate[] getCertificateChain(String alias) {
11351133
chain = (List) internalContext.extraChainCert;
11361134
}
11371135
else if ( internalContext.cert != null ) {
1138-
chain = new ArrayList<java.security.cert.X509Certificate>(8);
1136+
chain = new ArrayList<>(8);
11391137

11401138
StoreContext storeCtx = internalContext.createStoreContext(null);
11411139
X509AuxCertificate x = internalContext.cert;

0 commit comments

Comments
 (0)