Fixed spelling error in JRuby Protobuf class
This commit is contained in:
parent
351a34f666
commit
53be4109c0
@ -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…
Reference in New Issue
Block a user