Skip to content

Commit 923918a

Browse files
committed
fixes #63
1 parent 21d2cbb commit 923918a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

java-diff-utils/src/main/java/com/github/difflib/text/DiffRowGenerator.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ static void wrapInTag(List<String> sequence, int startPosition,
127127

128128
sequence.add(endPos, tagGenerator.apply(false));
129129
if (processDiffs != null) {
130-
sequence.set(endPos - 1,
131-
processDiffs.apply(sequence.get(endPos - 1)));
132-
}
130+
sequence.set(endPos - 1,
131+
processDiffs.apply(sequence.get(endPos - 1)));
132+
}
133133
endPos--;
134134

135135
//search position for end tag
@@ -148,8 +148,7 @@ static void wrapInTag(List<String> sequence, int startPosition,
148148
endPos--;
149149
}
150150
}
151-
152-
151+
153152
private final int columnWidth;
154153
private final BiPredicate<String, String> equalizer;
155154
private final boolean ignoreWhiteSpaces;

0 commit comments

Comments
 (0)