mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
shorten qualified names in change signature return type (IDEA-130277)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Make 'bar' return 'java.util.Iterator'" "true"
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
public class Foo {
|
||||
Iterator bar() {
|
||||
return new ArrayList().iterator();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// "Make 'bar' return 'java.util.Iterator'" "true"
|
||||
import java.util.ArrayList;
|
||||
public class Foo {
|
||||
void bar() {
|
||||
return new ArrayList().itera<caret>tor();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user