Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8c6679e

Browse files
committed
1 parent4c1a0bc commit8c6679e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/main/java/com/github/difflib/unifieddiff/UnifiedDiffWriter.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ public static void write(UnifiedDiff diff, Writer writer) throws IOException {
4040
}
4141

4242
}
43-
44-
writer.write(diff.getTail());
43+
if (diff.getTail() !=null) {
44+
writer.write("--\n" +diff.getTail());
45+
}
4546
}
4647

4748
privatestaticvoidwriteOrNothing(Writerwriter,Stringstr)throwsIOException {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp