Skip to content

Commit 7d2e4a3

Browse files
committed
Resolve merge conflicts5
1 parent 17cafff commit 7d2e4a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/main/java/hexlet/code/formatters/Plain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static String format(List<Map<String, Object>> diff) {
2323
default -> { }
2424
}
2525
}
26-
return result.toString();
26+
return result.toString().strip();
2727
}
2828

2929
private static String formatValue(Object value) {

app/src/main/java/hexlet/code/formatters/Stylish.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ public static String format(List<Map<String, Object>> diff) {
2727
}
2828

2929
result.append("}\n");
30-
return result.toString();
30+
return result.toString().strip();
3131
}
3232
}

0 commit comments

Comments
 (0)