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

#237 - Modernize codebase towards modern Java #240

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

mawiesne
Copy link
Contributor

Change

  • applies several migration aids to modernize existing code towards Java 11
  • fixes C-style array declarations
  • declares several fields as final where applicable
  • collapses / merges identical catch blocks
  • reduces use of deprecated API (mostly Hibernate)
  • reduces use of generic classes without type parameters
  • simplifies unnecessary String conversions
  • removes redundant initializers
  • removes unnecessary modifiers of methods declared in interfaces
  • removes unnecessary semicolons
  • removes unnecessary toString() invocations

see: #237

- applies several migration aids to modernize existing code towards Java 11
- fixes C-style array declarations
- declares several fields as `final` where applicable
- collapses / merges identical catch blocks
- reduces use of deprecated API (mostly Hibernate)
- reduces use of generic classes without type parameters
- simplifies unnecessary String conversions
- removes redundant initializers
- removes unnecessary modifiers of methods declared in interfaces
- removes unnecessary semicolons
- removes unnecessary toString() invocations
@mawiesne mawiesne changed the title Modernize codebase towards modern Java #237 - Modernize codebase towards modern Java Oct 20, 2023
@mawiesne mawiesne requested review from rzo1 and reckart October 20, 2023 14:10
@mawiesne mawiesne added this to the 2.0.0 milestone Oct 20, 2023
@mawiesne mawiesne merged commit b52e4a9 into master Oct 26, 2023
6 checks passed
@mawiesne mawiesne deleted the 237-modernize-codebase-towards-modern-Java branch October 26, 2023 07:30
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.

2 participants