Skip to content

Code cleanup - @Override, serialization, @Deprecated annotations#294

Open
dmatej wants to merge 1 commit intoeclipse-ee4j:masterfrom
dmatej:overrides
Open

Code cleanup - @Override, serialization, @Deprecated annotations#294
dmatej wants to merge 1 commit intoeclipse-ee4j:masterfrom
dmatej:overrides

Conversation

@dmatej
Copy link
Copy Markdown
Contributor

@dmatej dmatej commented Apr 23, 2026

  • In previous PRs I have noticed that some overrides are bit surprising which sometimes lead to mistakes. Also refactoring is safer when compiler screams when I remove/add something with unexpected consequences.
  • Added @OverRide annotations
  • Added missing serialVersionUID numbers
  • Added missing @deprecated annotations
  • Removed redundant modifiers
  • Removed redundant classcasts
  • Variable declarations of local variables moved to their first usage.

It would be probably better to merge this before #293

- In previous PRs I have noticed that some overrides are bit surprising which
  sometimes lead to mistakes. Also refactoring is safer when compiler screams
  when I remove/add something with unexpected consequences.
- Added @OverRide annotations
- Added missing serialVersionUID numbers
- Added missing @deprecated annotations
- Removed redundant modifiers
- Removed redundant classcasts
- Variable declarations of local variables moved to their first usage.

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
@dmatej dmatej added this to the 5.1.0 milestone Apr 23, 2026
@dmatej dmatej requested a review from a team April 23, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant