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

Move getType of shape to subclass method #1028

Merged
merged 1 commit into from
Dec 28, 2021
Merged

Move getType of shape to subclass method #1028

merged 1 commit into from
Dec 28, 2021

Conversation

mtdowling
Copy link
Member

This was previously stored in an instance variable, but the shape type
is constant per/shape, so that's unnecessary, and it can be returned by
implementing getShapeType in each subclass.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This was previously stored in an instance variable, but the shape type
is constant per/shape, so that's unnecessary, and it can be returned by
implementing getShapeType in each subclass.
@mtdowling mtdowling requested a review from a team as a code owner December 25, 2021 02:42
@mtdowling mtdowling merged commit e8badc8 into main Dec 28, 2021
@mtdowling mtdowling deleted the move-get-type branch January 7, 2022 21:56
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.

2 participants