Skip to content

Commit 361c27d

Browse files
committed
1 parent c917f77 commit 361c27d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/github/difflib/unifieddiff/UnifiedDiffParser.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ private boolean processLine(boolean header, String line) {
9898
private void initFileIfNecessary() {
9999
if (actualFile == null) {
100100
actualFile = new UnifiedDiffFile();
101+
data.addFile(actualFile);
101102
}
102103
}
103104

0 commit comments

Comments
 (0)