Skip to content

Commit db36263

Browse files
committed
[refactor] cleanup unused method
1 parent a90f7da commit db36263

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ static RaiseException newError(Ruby runtime, RubyClass errorClass, String msg, T
9393
return ex;
9494
}
9595

96-
static boolean hasNonNilInstanceVariable(final IRubyObject self, final String var) {
97-
final IRubyObject val = self.getInstanceVariables().getInstanceVariable(var);
98-
return val != null && ! val.isNil();
99-
}
100-
10196
// reinvented parts of org.jruby.runtime.Helpers for compatibility with "older" JRuby :
10297

10398
static IRubyObject invoke(ThreadContext context, IRubyObject self, String name, Block block) {

0 commit comments

Comments
 (0)