Fixes according to review IDEA-CR-1967

GitOrigin-RevId: 291843a9ecd55948c4f94844aec63c6057d1cb40
This commit is contained in:
Tagir Valeev
2020-07-02 11:37:52 +07:00
committed by intellij-monorepo-bot
parent 0a7e1ab307
commit 7315560413
4 changed files with 47 additions and 37 deletions

View File

@@ -0,0 +1,15 @@
// "Create method 'getPreloadKeys'" "true"
import java.util.*;
class Foo<T>{
void test(Foo<String> f){
f.foo(getPreloadKeys());
}
private Collection<Collection<? extends String>> getPreloadKeys() {
return null;
}
void foo(Collection<Collection<? extends T>> c) {}
}

View File

@@ -0,0 +1,11 @@
// "Create method 'getPreloadKeys'" "true"
import java.util.*;
class Foo<T>{
void test(Foo<String> f){
f.foo(getPrel<caret>oadKeys());
}
void foo(Collection<Collection<? extends T>> c) {}
}