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

Remove all superfluously overridden methods from CatalogPlugin #389

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

groldan
Copy link
Member

@groldan groldan commented Dec 7, 2023

CatalogPlugin started by only implementing Catalog and hence duplicated most of upstream's CatalogImpl functionality. Then it was required for it to extend CatalogImpl instead, due to code in GeoServer assuming the Catalog is A CatalogImpl, but the overridden methods that did the same weren't removed.

This leaves CatalogPlugin much cleaner and it's easier to see how it exactly differ from its superclass.

@groldan groldan added the QA label Dec 7, 2023
`CatalogPlugin` started by only implementing `Catalog` and hence
duplicated most of upstream's `CatalogImpl` functionality. Then it was
required for it to extend `CatalogImpl` instead, due to code in
GeoServer assuming the `Catalog` **is A** `CatalogImpl`, but the
overridden methods that did the same weren't removed.

This leaves `CatalogPlugin` much cleaner and it's easier to see how it
exactly differ from its superclass.
@groldan groldan changed the title qa: Remove all superfluously overridden methods from CatalogPlugin Remove all superfluously overridden methods from CatalogPlugin Dec 7, 2023
@groldan groldan merged commit c6d149f into geoserver:main Dec 7, 2023
2 checks passed
@groldan groldan deleted the qa branch December 7, 2023 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant