mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 13:15:25 +07:00
IDEA-117252 Extract variable bug
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
public class ExtractVariableSample {
|
||||
|
||||
public static void main(String[] args, String s) {
|
||||
Collection<String> strings = new ArrayList<>();
|
||||
new Object() {
|
||||
public void foo(String s) {
|
||||
System.out.println( s.hashCode());
|
||||
}
|
||||
};
|
||||
|
||||
System.out.println(<selection>s.hashCode()</selection>);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user