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.include(new IRubyObject[] {messageExts});
|
||||||
klass.instance_variable_set(runtime.newString(Utils.DESCRIPTOR_INSTANCE_VAR), this);
|
klass.instance_variable_set(runtime.newString(Utils.DESCRIPTOR_INSTANCE_VAR), this);
|
||||||
klass.defineAnnotatedMethods(RubyMessage.class);
|
klass.defineAnnotatedMethods(RubyMessage.class);
|
||||||
// Workaround for https://github.com/jruby/jruby/issues/7154
|
// Workaround for https://github.com/jruby/jruby/issues/7154
|
||||||
klass.searchMethod("respond_to?").setIsBuiltin(false);
|
klass.searchMethod("respond_to?").setIsBuiltin(false);
|
||||||
return klass;
|
return klass;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -860,7 +860,6 @@ public class RubyMessage extends RubyObject {
|
|||||||
this.builder.getDescriptorForType().findFieldByName(TYPE);
|
this.builder.getDescriptorForType().findFieldByName(TYPE);
|
||||||
if (typeBytesSymbol.equals(fields.get(enumFieldDescriptorForType))) {
|
if (typeBytesSymbol.equals(fields.get(enumFieldDescriptorForType))) {
|
||||||
isDefaultStringForBytes = true;
|
isDefaultStringForBytes = true;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
builder.setField(
|
builder.setField(
|
||||||
|
Loading…
Reference in New Issue
Block a user