Skip to content

Commit

Permalink
Remove optional specifier from fixed arity method
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Jan 4, 2024
1 parent ca291b9 commit d9a4a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ public static IRubyObject pending_interrupt_p_s(ThreadContext context, IRubyObje
return context.getThread().pending_interrupt_p(context);
}

@JRubyMethod(name = "pending_interrupt?", meta = true, optional = 1, checkArity = false)
@JRubyMethod(name = "pending_interrupt?", meta = true)
public static IRubyObject pending_interrupt_p_s(ThreadContext context, IRubyObject self, IRubyObject err) {
return context.getThread().pending_interrupt_p(context, err);
}
Expand Down

0 comments on commit d9a4a05

Please sign in to comment.