Skip to content

Commit baafcf0

Browse files
committed
[refactor] cleanup deprecated legacy PKey methods
1 parent db36263 commit baafcf0

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -203,16 +203,6 @@ public IRubyObject initialize(ThreadContext context) {
203203

204204
public abstract RubyString to_pem(ThreadContext context, final IRubyObject[] args) ;
205205

206-
@Deprecated
207-
public RubyString to_pem(final IRubyObject[] args) {
208-
return to_pem(getRuntime().getCurrentContext(), args);
209-
}
210-
211-
@Deprecated
212-
public RubyString export(final IRubyObject[] args) {
213-
return to_pem(getRuntime().getCurrentContext(), args);
214-
}
215-
216206
@JRubyMethod(name = "sign")
217207
public IRubyObject sign(IRubyObject digest, IRubyObject data) {
218208
final Ruby runtime = getRuntime();

0 commit comments

Comments
 (0)