Skip to content

Fix equality operation for Geometry subclasses#2093

Open
absurdfarce wants to merge 1 commit into
apache:4.xfrom
absurdfarce:linestring-test
Open

Fix equality operation for Geometry subclasses#2093
absurdfarce wants to merge 1 commit into
apache:4.xfrom
absurdfarce:linestring-test

Conversation

@absurdfarce

Copy link
Copy Markdown
Contributor

Wondering if I got this wrong in my earlier change, trying to do some testing to confirm.

@hiSandog

hiSandog commented Jul 1, 2026

Copy link
Copy Markdown

For the geometry equality fix, it would be useful to cover hashCode and cross-subclass comparisons in the same test area. Equality bugs often reappear when two subclasses share identical coordinates but should not compare equal as domain types. A null/empty geometry case would also help document the intended behavior.

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