mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
create from usage: don't go through polyadic to deep (IDEA-244730)
GitOrigin-RevId: f7ab010a75203486f0c967ae5ba7c69db81ad812
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2a56ad5b11
commit
4bb02e9e68
@@ -0,0 +1,12 @@
|
||||
// "Create method 'test'" "true"
|
||||
public class Test {
|
||||
void test(boolean b, Object obj) {
|
||||
if (b || test() == obj) {
|
||||
// do smth
|
||||
}
|
||||
}
|
||||
|
||||
private Object test() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Create method 'test'" "true"
|
||||
public class Test {
|
||||
void test(boolean b, Object obj) {
|
||||
if (b || te<caret>st() == obj) {
|
||||
// do smth
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user