mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
tests fix
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
import java.util.*;
|
||||
|
||||
class C {
|
||||
public static interface GenericAgnosticProcessor {
|
||||
void processMap(Map map);
|
||||
}
|
||||
|
||||
public static interface GenericAwareProcessor {
|
||||
void processMap(Map<String, String> map);
|
||||
}
|
||||
|
||||
public static class TestProcessor implements GenericAwareProcessor, GenericAgnosticProcessor {
|
||||
@Override
|
||||
public void processMap(Map map) { }
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
final TestProcessor testProcessor = new TestProcessor();
|
||||
testProcessor.<ref>processMap(new HashMap());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user