File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/commonMain/kotlin/io/github/petertrr/diffutils/patch Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ This is a port of [java-diff-utils](https://github.com/java-diff-utils/java-diff
11
11
with multiplatform support. All credit for the implementation goes to original authors.
12
12
13
13
## Features
14
- All features from version 4.9 of the original library are present, except for:
14
+ All features from version 4.10 of the original library are present, except for:
15
15
* Unified diff, which heavily uses file read/write and therefore needs a more complicated rewrite for kotlin-multiplatform
16
16
* diff-utils-jgit, which uses JVM-only jgit library
17
17
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public class ConflictProducingConflictOutput : ConflictOutput<String> {
35
35
override fun processConflict (verifyChunk : VerifyChunk , delta : Delta <String >, result : MutableList <String >) {
36
36
if (result.size > delta.source.position) {
37
37
val orgData = mutableListOf<String >()
38
- for (i in 0 until delta.source.size()) {
38
+ ( 0 until delta.source.size()).forEach { _ ->
39
39
orgData.add(
40
40
result.removeAt(delta.source.position)
41
41
)
You can’t perform that action at this time.
0 commit comments