Skip to content

Commit

Permalink
Update Descriptor.getExtension()'s javadoc to clarify its intended …
Browse files Browse the repository at this point in the history
…behavior.

PiperOrigin-RevId: 706746147
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Dec 16, 2024
1 parent 512319b commit dc72833
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ public List<OneofDescriptor> getRealOneofs() {
return Collections.unmodifiableList(Arrays.asList(oneofs).subList(0, realOneofCount));
}

/** Get a list of this message type's extensions. */
/** Get a list of the extensions defined nested within this message type's scope. */
public List<FieldDescriptor> getExtensions() {
return Collections.unmodifiableList(Arrays.asList(extensions));
}
Expand Down

0 comments on commit dc72833

Please sign in to comment.