mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-04 12:13:11 +00:00
pmd:AppendCharacterWithChar - Append Character With Char
This commit is contained in:
1 parent
59c32d3937
commit
7adefc89ba
3 files changed
+7
-7
No files matched your search
@@ -98,7 +98,7 @@ public class Character {
|
||||
.append(" armed with a ")
|
||||
.append(weapon != null ? weapon : spell != null ? spell : "with nothing")
|
||||
.append(abilities != null ? (" and wielding " + abilities + " abilities") : "")
|
||||
.append(".");
|
||||
.append('.');
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user