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

Add missing @Override annotations #1014

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

msbarry
Copy link
Contributor

@msbarry msbarry commented Nov 8, 2023

I'm planning to add generics to some of the spatial index classes (see #1012 (comment)) and to make that refactor a bit safer, it would help to have @Override annotations on any method that overrides a superclass method to generate a compile error when there's a type mismatch between the method in parent which may have generics mid-refactor and child class which may not.

This PR runs Intellij's "Add missing @Override annotations" automated fix to all of the java files in the project.

If we wanted to we could also add the "MissingOverride" checkstyle check to enforce this?

Signed-off-by: Mike Barry <msb5014@gmail.com>
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.

None yet

1 participant