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

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

No files matched your search

@@ -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();
}