mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
safe delete: do not show conflicts about method reference if it occurs in the argument to be deleted (IDEA-163964)
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
import java.util.function.Consumer;
|
||||
|
||||
public class Subst {
|
||||
void test1() {
|
||||
test2(Subst::bar);
|
||||
}
|
||||
|
||||
private static void bar(Object o) {
|
||||
|
||||
}
|
||||
|
||||
void test2(final Consumer<Object> consu<caret>mer) {}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
import java.util.function.Consumer;
|
||||
|
||||
public class Subst {
|
||||
void test1() {
|
||||
test2();
|
||||
}
|
||||
|
||||
private static void bar(Object o) {
|
||||
|
||||
}
|
||||
|
||||
void test2() {}
|
||||
}
|
||||
Reference in New Issue
Block a user