Fixed spelling error in JRuby Protobuf class

This commit is contained in:
Rob Widmer 2020-12-01 13:41:37 -05:00 committed by Adam Cozzette
parent 351a34f666
commit 53be4109c0

View File

@ -75,7 +75,7 @@ public class RubyProtobuf {
* unknown fields in submessages.
*/
@JRubyMethod(name = "discard_unknown", meta = true)
public static IRubyObject discardUnkown(ThreadContext context, IRubyObject self, IRubyObject message) {
public static IRubyObject discardUnknown(ThreadContext context, IRubyObject self, IRubyObject message) {
((RubyMessage) message).discardUnknownFields(context);
return context.nil;
}