File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/google/protobuf/compiler/java/full Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -132,10 +132,9 @@ int ImmutableExtensionGenerator::GenerateNonNestedInitializationCode(
132132 int bytecode_estimate = 0 ;
133133 if (descriptor_->extension_scope () == nullptr ) {
134134 // Only applies to non-nested extensions.
135- printer->Print (
136- " $name$.internalInit(descriptor.getExtensions().get($index$));\n " ,
137- " name" , UnderscoresToCamelCaseCheckReserved (descriptor_), " index" ,
138- absl::StrCat (descriptor_->index ()));
135+ printer->Print (" $name$.internalInit(descriptor.getExtension($index$));\n " ,
136+ " name" , UnderscoresToCamelCaseCheckReserved (descriptor_),
137+ " index" , absl::StrCat (descriptor_->index ()));
139138 bytecode_estimate += 21 ;
140139 }
141140 return bytecode_estimate;
You can’t perform that action at this time.
0 commit comments