mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-03 03:37:58 +07:00
[java] update all references in move into anonymous object fix IDEA-293156
GitOrigin-RevId: cbd3dc55d65f2b6736b1349ba60c6334945e35e5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cf2739c5c2
commit
94b0e67907
@@ -0,0 +1,12 @@
|
||||
// "Move 'condition' into anonymous object" "true"
|
||||
class Test {
|
||||
public void test() {
|
||||
var ref = new Object() {
|
||||
Object condition;
|
||||
};
|
||||
Runnable r = () -> {
|
||||
ref.condition = new Object();
|
||||
ref.condition.hashCode();
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// "Move 'condition' into anonymous object" "true"
|
||||
class Test {
|
||||
public void test() {
|
||||
Object condition;
|
||||
Runnable r = () -> {
|
||||
condition<caret> = new Object();
|
||||
condition.hashCode();
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user