mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
anonym to lambda: rename conflicting locals (IDEA-120221)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// "Replace with lambda" "true"
|
||||
class X1 {
|
||||
Runnable m() {
|
||||
String s;
|
||||
return () -> {
|
||||
String s1;
|
||||
};
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
// "Replace with lambda" "true"
|
||||
class X1 {
|
||||
Runnable m() {
|
||||
String s;
|
||||
return new Run<caret>nable() {
|
||||
@Override
|
||||
public void run() {
|
||||
String s;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user