mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 22:58:36 +00:00
Corrected spelling mistake in hair type: BOLD -> BALD.
This commit is contained in:
@@ -55,7 +55,7 @@ public class Hero {
|
||||
sb.append(hairType);
|
||||
sb.append(" ");
|
||||
}
|
||||
sb.append(hairType != HairType.BOLD ? "hair" : "head");
|
||||
sb.append(hairType != HairType.BALD ? "hair" : "head");
|
||||
}
|
||||
if (armor != null) {
|
||||
sb.append(" wearing ");
|
||||
|
||||
Reference in New Issue
Block a user