Skip to content

Remove public access to Java Edition APIs e.g. getEdition(), getEditionName().#15380

Merged
1 commit merged into
mainfrom
test_597308796
Jan 10, 2024
Merged

Remove public access to Java Edition APIs e.g. getEdition(), getEditionName().#15380
1 commit merged into
mainfrom
test_597308796

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Jan 10, 2024

Copy link
Copy Markdown

Remove public access to Java Edition APIs e.g. getEdition(), getEditionName().

Editions should not be used to make semantic decisions -- specific helpers (e.g. FieldDescriptor.hasPresence()) should be used instead. FileDescriptorProto can be used to access editions for non semantic purposes, incl. with ProtoFileUti.

These APIs have not been released yet and are thus non-breaking.

@copybara-service copybara-service Bot changed the title Remove public access to Java Edition getters e.g. getEdition(), getEditionName(). Remove public access to Java Edition APIs e.g. getEdition(), getEditionName(). Jan 10, 2024
@copybara-service copybara-service Bot force-pushed the test_597308796 branch 4 times, most recently from 02d00db to 42e85f2 Compare January 10, 2024 21:43
…onName().

Editions should not be used to make semantic decisions -- specific helpers (e.g. FieldDescriptor.hasPresence()) should be used instead. FileDescriptorProto can be used to access editions for *non semantic* purposes, incl. with ProtoFileUti.

These APIs have not been released yet and are thus non-breaking.

PiperOrigin-RevId: 597362543
@copybara-service copybara-service Bot closed this pull request by merging all changes into main in 63623a6 Jan 10, 2024
@copybara-service copybara-service Bot deleted the test_597308796 branch January 10, 2024 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant