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

Small fixes #294

Merged
merged 4 commits into from
Oct 27, 2024
Merged

Small fixes #294

merged 4 commits into from
Oct 27, 2024

Conversation

bgilbert
Copy link
Member

Based on, and supersedes, #243.

cc @jaharkes

bgilbert and others added 4 commits October 26, 2024 14:05
Suggested-by: Jan Harkes <[email protected]>
Signed-off-by: Benjamin Gilbert <[email protected]>
Decorate methods with '@AbstractMethod' to prevent instantiation unless
all abstract methods and properties are overridden.

Signed-off-by: Jan Harkes <[email protected]>
Signed-off-by: Benjamin Gilbert <[email protected]>
It was added in 1.2.0, so any older third-party subclass may not implement
the method.  In addition, most subclasses will want this method to do
nothing, matching ImageSlide's implementation.  Make the default
implementation do nothing and remove the method override from ImageSlide.

Signed-off-by: Benjamin Gilbert <[email protected]>
openslide_set_cache() doesn't generate any errors, but that's an
implementation detail, and for consistency we should check that an error
wasn't previously set.

Signed-off-by: Jan Harkes <[email protected]>
Signed-off-by: Benjamin Gilbert <[email protected]>
@openslide-bot
Copy link

DCO signed off ✔️

All commits have been signed off. You have certified to the terms of the Developer Certificate of Origin, version 1.1. In particular, you certify that this contribution has not been developed using information obtained under a non-disclosure agreement or other license terms that forbid you from contributing it under the GNU Lesser General Public License, version 2.1.

@bgilbert bgilbert mentioned this pull request Oct 26, 2024
@bgilbert bgilbert merged commit bbbc0eb into openslide:main Oct 27, 2024
52 checks passed
@bgilbert bgilbert deleted the fixes branch October 27, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants