Skip to content

Commit 989ca42

Browse files
committed
call Hash#merge directly - no sense to account for patches here
1 parent b92e045 commit 989ca42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ public IRubyObject set_params(final ThreadContext context, final IRubyObject[] a
557557
RubyHash DEFAULT_PARAMS = (RubyHash) SSLContext.getConstantAt("DEFAULT_PARAMS");
558558
if ( args.length == 0 ) params = DEFAULT_PARAMS;
559559
else {
560-
params = (RubyHash) DEFAULT_PARAMS.callMethod(context, "merge", args[0]);
560+
params = (RubyHash) DEFAULT_PARAMS.merge(context, args[0], Block.NULL_BLOCK);
561561
}
562562
final SSLContext self = this;
563563
params.visitAll(new RubyHash.Visitor() {

0 commit comments

Comments
 (0)