Fixed spelling error in JRuby Protobuf class

pull/8138/head
Rob Widmer 4 years ago committed by Adam Cozzette
parent 351a34f666
commit 53be4109c0
  1. 2
      ruby/src/main/java/com/google/protobuf/jruby/RubyProtobuf.java

@ -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;
}

Loading…
Cancel
Save