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/b/pkg/B.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/test/java/b/pkg') diff --git a/src/test/java/b/pkg/B.java b/src/test/java/b/pkg/B.java index 88f46cf..3af7381 100644 --- a/src/test/java/b/pkg/B.java +++ b/src/test/java/b/pkg/B.java @@ -10,6 +10,8 @@ public class B extends BParent implements BInterface { public B(B arg) { } + public static B create() { return new B(); } + public void bMethod() { bInterfaceMethod(); } -- cgit