Skip to content

Commit 0121c61

Browse files
committed
refactor: remove commented out lines
1 parent f3d1caf commit 0121c61

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/commonMain/kotlin/io/github/petertrr/diffutils/algorithm/myers/MyersDiffWithLinearSpace.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,11 @@ public class MyersDiffWithLinearSpace<T>(
6262

6363
while (i < end1 || j < end2) {
6464
if (i < end1 && j < end2 && equalizer.test(data.source[i], data.target[j])) {
65-
// script.append(new KeepCommand<>(left.charAt(i)));
6665
++i
6766
++j
6867
} else {
6968
// TODO: compress these commands
7069
if (end1 - start1 > end2 - start2) {
71-
// script.append(new DeleteCommand<>(left.charAt(i)));
7270
if (data.script.isEmpty() ||
7371
data.script[data.script.size - 1].endOriginal != i ||
7472
data.script[data.script.size - 1].deltaType != DeltaType.DELETE

0 commit comments

Comments
 (0)