locationtech / jts

The JTS Topology Suite is a Java library for creating and manipulating vector geometry.
Other
1.95k stars 440 forks source link

Add missing @Override annotations #1014

Open msbarry opened 11 months ago

msbarry commented 11 months ago

I'm planning to add generics to some of the spatial index classes (see https://github.com/locationtech/jts/pull/1012#issuecomment-1798339691) 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?