Quiet IDEA about using StringBuilder instead of String concatenation

Answered

I haven't found a way to quiet IDEA from bugging me to toss using StringBuilder in favor of simple String concatenation. I guess I ask because I'm a little obsessive-compulsive and like to leave my code with a green checkmark instead of a yellow box. I don't think the use of StringBuilder should be part of the mix.

Considerable Googling and trying suggestions hasn't done it for me. How can I do this? (Or, is it impossible to shut this off without shutting down potentially lots of other suggestions I do want to keep?)

Thanks

IDEA 15

0
2 comments

Please see https://www.jetbrains.com/idea/help/suppressing-inspections.html . You can suppress just this inspection via Alt+Enter.

1

Thanks. I had failed to press Right Arrow. My bad.

0

Please sign in to leave a comment.