Fixed some mis-merged files.
This commit is contained in:
parent
f80137c46d
commit
a2a0c3c118
@ -215,8 +215,8 @@ public class RubyDescriptor extends RubyObject {
|
||||
klass.include(new IRubyObject[] {messageExts});
|
||||
klass.instance_variable_set(runtime.newString(Utils.DESCRIPTOR_INSTANCE_VAR), this);
|
||||
klass.defineAnnotatedMethods(RubyMessage.class);
|
||||
// Workaround for https://github.com/jruby/jruby/issues/7154
|
||||
klass.searchMethod("respond_to?").setIsBuiltin(false);
|
||||
// Workaround for https://github.com/jruby/jruby/issues/7154
|
||||
klass.searchMethod("respond_to?").setIsBuiltin(false);
|
||||
return klass;
|
||||
}
|
||||
|
||||
|
@ -860,7 +860,6 @@ public class RubyMessage extends RubyObject {
|
||||
this.builder.getDescriptorForType().findFieldByName(TYPE);
|
||||
if (typeBytesSymbol.equals(fields.get(enumFieldDescriptorForType))) {
|
||||
isDefaultStringForBytes = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
builder.setField(
|
||||
|
Loading…
Reference in New Issue
Block a user