Menu

#573 New check for java string concat

PMD-5.1.x
open
nobody
None
1
2013-07-23
2013-07-23
Andrew
No

Sometimes I see follow bugs:
char charValue = 'a';
int intValue = 1;
String str = charValue + intValue;
Expected value is "a1", but actual result is "99".

Discussion


Log in to post a comment.