From f1224518f86b0160149544dc8d56505a37a186e2 Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Thu, 11 Nov 2021 20:59:47 +0100 Subject: Fix loss of changes when multiple target the same start point While one might at first think that multiple changes should conflict if they target that same start point, that is not necessarily true as long as no more than one of them includes deletions: There may be an arbitrary number of insertions at the same position (regular remapping never just inserts but patterns can). --- src/test/java/a/pkg/A.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/test/java/a/pkg') diff --git a/src/test/java/a/pkg/A.java b/src/test/java/a/pkg/A.java index b5480d4..32fa2a9 100644 --- a/src/test/java/a/pkg/A.java +++ b/src/test/java/a/pkg/A.java @@ -10,6 +10,8 @@ public class A extends AParent implements AInterface { public A(A arg) { } + public static A create() { return new A(); } + public void aMethod() { aInterfaceMethod(); } -- cgit