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

String.equals() should probably be used. #426

Closed
scuniff opened this issue Feb 23, 2024 · 1 comment · Fixed by #427
Closed

String.equals() should probably be used. #426

scuniff opened this issue Feb 23, 2024 · 1 comment · Fixed by #427
Assignees

Comments

@scuniff
Copy link

scuniff commented Feb 23, 2024

if (((JMenu) c).getText() == entry.getText()) {

line 611:

      if (((JMenu) c).getText() == entry.getText()) {

should probably use String.equals():

                if (((JMenu) c).getText().equals(entry.getText()))

like it is at line 597

@joshmoore
Copy link
Member

👍

@dominikl dominikl self-assigned this Feb 27, 2024
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 a pull request may close this issue.

3 participants