pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/processing/processing4/pull/1483

requests-12898a7be3dbcd40.css" /> Resolves: #1414 Missing hashCode on Sketch by FranciscoJ26 · Pull Request #1483 · processing/processing4 · GitHub
Skip to content

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

@FranciscoJ26

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 FranciscoJ26 changed the title Resolves: #[1414] Missing hashCode on Sketch Resolves: #1414 Missing hashCode on Sketch Mar 16, 2026
@smarasca5

Copy link
Copy Markdown
Contributor

LGTM

@catilac

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?

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

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy