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

Use data object when applicable #3350

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

nielsvanvelzen
Copy link
Member

@nielsvanvelzen nielsvanvelzen commented Feb 5, 2024

Data objects are similar to data classes and the compiler will generate a default toString, equals and hashCode functions. Using data objects helps primarily with debugging when logging an object.

Changes

  • Use data object when applicable

Issues

@nielsvanvelzen nielsvanvelzen added the refactor Improvements to code realiability, readability and quality label Feb 5, 2024
@nielsvanvelzen nielsvanvelzen added this to the v0.17.0 milestone Feb 5, 2024
@nielsvanvelzen nielsvanvelzen merged commit c482d48 into jellyfin:master Feb 6, 2024
5 checks passed
@nielsvanvelzen nielsvanvelzen deleted the data-object branch February 6, 2024 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Improvements to code realiability, readability and quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants