mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
IDEA-124385
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// "Replace with lambda" "true"
|
||||
class X1 {
|
||||
|
||||
public void testLambdaConversionBug() {
|
||||
Object data = new Object();
|
||||
new Thread(() -> {
|
||||
System.out.println(data.getClass());
|
||||
{
|
||||
Integer data1 =1;
|
||||
System.out.println(data1.longValue());
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
// "Replace with lambda" "true"
|
||||
class X1 {
|
||||
|
||||
public void testLambdaConversionBug() {
|
||||
Object data = new Object();
|
||||
new Thread(new Runn<caret>able() {
|
||||
@Override
|
||||
public void run() {
|
||||
System.out.println(data.getClass());
|
||||
{
|
||||
Integer data=1;
|
||||
System.out.println(data.longValue());
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user