Skip to content

Commit 4a31659

Browse files
committed
remove deprecated piece
1 parent b359c3f commit 4a31659

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,6 @@ private static RaiseException newSSLErrorFromHandshake(Ruby runtime, SSLHandshak
139139

140140
int verifyResult = X509Utils.V_OK;
141141

142-
@Deprecated
143-
public IRubyObject _initialize(final ThreadContext context,
144-
final IRubyObject[] args, final Block unused) {
145-
return initialize(context, args);
146-
}
147-
148142
@JRubyMethod(name = "initialize", rest = true, frame = true, visibility = Visibility.PRIVATE)
149143
public IRubyObject initialize(final ThreadContext context, final IRubyObject[] args) {
150144
final Ruby runtime = context.runtime;
@@ -174,7 +168,7 @@ public IRubyObject initialize(final ThreadContext context, final IRubyObject[] a
174168
}
175169

176170
private SSLEngine ossl_ssl_setup(final ThreadContext context)
177-
throws NoSuchAlgorithmException, KeyManagementException, IOException {
171+
throws NoSuchAlgorithmException, KeyManagementException {
178172
SSLEngine engine = this.engine;
179173
if ( engine != null ) return engine;
180174

0 commit comments

Comments
 (0)