squid:UselessParenthesesCheck - Useless parentheses around expressions should be removed to prevent any misunderstanding

This commit is contained in:
Mohammed Ezzat
2016-02-23 20:57:55 +02:00
parent ab19c47415
commit 046e131119
10 changed files with 13 additions and 13 deletions

View File

@ -97,7 +97,7 @@ public class Character {
.append(name)
.append(" armed with a ")
.append(weapon != null ? weapon : spell != null ? spell : "with nothing")
.append(abilities != null ? (" and wielding " + abilities + " abilities") : "")
.append(abilities != null ? " and wielding " + abilities + " abilities" : "")
.append('.');
return sb.toString();
}