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

RenderDeviceJme: CachedTextKey.equals() lacks a type check #1768

Merged
merged 1 commit into from Feb 10, 2022

Conversation

stephengold
Copy link
Member

@stephengold stephengold commented Feb 2, 2022

The Object.equals() method requires an exact class match, and so should methods that override it. However, that is not the case for CachedTextKey.equals() in the jme3-niftygui library. See issue #1289.

This is similar to PR #1302, which added type checks to Matrix3f and Matrix4f.

@stephengold stephengold added this to the Future Release milestone Feb 2, 2022
@stephengold
Copy link
Member Author

Unless there's something to discuss, I plan to self-integrate this PR in about 24 hours...

@stephengold stephengold merged commit 2a661dc into master Feb 10, 2022
@stephengold stephengold deleted the sgold/text-key-equals branch February 10, 2022 18:40
@Ali-RS Ali-RS modified the milestones: Future Release, v3.6.0 Dec 31, 2022
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.

None yet

2 participants