Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issues/262 - Version should byte serialize as Option type. #266

Merged
merged 3 commits into from
Apr 24, 2024
Merged

Conversation

meywood
Copy link
Collaborator

@meywood meywood commented Apr 24, 2024

No description provided.

@meywood meywood requested review from AB3rtz and cnorburn and removed request for AB3rtz April 24, 2024 10:38
serializeCustom(ser);

final Optional<AbstractCLValue<?, ?>> innerValue;
if (version == null) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd use ternary here

Copy link
Collaborator Author

@meywood meywood Apr 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It exceeds max line length as ternary so if else is preferable

@cnorburn cnorburn merged commit 86209dc into main Apr 24, 2024
1 check passed
@cnorburn cnorburn deleted the issues/262 branch April 24, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
2 participants