We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88edd33 commit 76f0c6cCopy full SHA for 76f0c6c
lesson_16/objects/objects_app/src/main/java/com/codedifferently/lesson16/boxer/Boxer.java
@@ -106,7 +106,7 @@ public String getFights() throws BoxerHasNoFightsException {
106
for (Map.Entry<String, Character> entry : fights.entrySet()) {
107
String key = entry.getKey();
108
char value = entry.getValue();
109
- fightsHad += "You fought " + key + " " + value;
+ fightsHad += "You fought " + key + " " + value +"\n";
110
}
111
return fightsHad;
112
0 commit comments