FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Resolves: #1414 Missing hashCode on Sketch by FranciscoJ26 · Pull Request #1483 · processing/processing4 · GitHub

Resolves: #1414 Missing hashCode on Sketch - #1483

Open
FranciscoJ26 wants to merge 1 commit into
processing:mainfrom
FranciscoJ26:override-hashCode-1414
Open

Resolves: #1414 Missing hashCode on Sketch#1483
FranciscoJ26 wants to merge 1 commit into
processing:mainfrom
FranciscoJ26:override-hashCode-1414

Conversation

Copy link
Copy Markdown

Resolves #1414

Changes: Implemented an override method for hashCode() on line 1934 in Sketch.java that returns the hash of mainPath. This ensures that two equal Sketch objects will produce the same hash code.

Tests: Wrote tests, but did not include them as they're currently broken.

Checklist: Ensure tests pass (N/A) and the branch is up to date

FranciscoJ26 changed the title Resolves: #[1414] Missing hashCode on Sketch Resolves: #1414 Missing hashCode on Sketch Mar 16, 2026

Copy link
Copy Markdown
Contributor

LGTM

catilac commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

@FranciscoJ26 this looks good! The tests are working now, would you be able to add them to this PR?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Missing hashCode on Sketch

3 participants


Back | FazBrowse Home | New Git URL