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

(JAVA-P0064) toString invoked on a string value is useless #2712

Closed
yurake opened this issue Oct 5, 2022 · 0 comments · Fixed by #2713
Closed

(JAVA-P0064) toString invoked on a string value is useless #2712

yurake opened this issue Oct 5, 2022 · 0 comments · Fixed by #2713
Labels
bug Something isn't working java Pull requests that update Java code

Comments

@yurake
Copy link
Owner

yurake commented Oct 5, 2022

Description

Calling String.toString is a redundant operation. Just use the string directly.

Occurrences

There are 3 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/yurake/k8s-3tier-webapp/issue/JAVA-P0064/occurrences/

@issuelabeler issuelabeler bot added the java Pull requests that update Java code label Oct 5, 2022
@yurake yurake added the bug Something isn't working label Oct 5, 2022
@github-actions github-actions bot added this to To do in Feature request Oct 5, 2022
@yurake yurake linked a pull request Oct 5, 2022 that will close this issue
yurake added a commit that referenced this issue Oct 6, 2022
…-on-a-string-value-is-useless

toString invoked on a string value is useless #2712
Feature request automation moved this from To do to Done Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working java Pull requests that update Java code
Projects
Development

Successfully merging a pull request may close this issue.

1 participant