mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 22:58:36 +00:00
pmd:AppendCharacterWithChar - Append Character With Char
This commit is contained in:
@@ -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