mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
commented tests for use interface where possible refactoring
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import java.util.*;
|
||||
interface Int {}
|
||||
class Impl implements Int {
|
||||
}
|
||||
|
||||
class Usage {
|
||||
void f(List<Int> l){}
|
||||
void bar() {
|
||||
f(Collections.<Int>emptyList());
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
import java.util.*;
|
||||
interface Int {}
|
||||
class Impl implements Int {
|
||||
}
|
||||
|
||||
class Usage {
|
||||
void f(List<Impl> l){}
|
||||
void bar() {
|
||||
f(Collections.<Impl>emptyList());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user