mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
java: redundant type arguments: check that parent call substitutor remains the same (IDEA-241259)
GitOrigin-RevId: 8e0e8d23e2868a47a857fb84bfb3a43fc34263f6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e35fd2396a
commit
dadcc9adde
+25
@@ -0,0 +1,25 @@
|
||||
// "Remove type arguments" "false"
|
||||
import java.util.function.Function;
|
||||
|
||||
class MyTest {
|
||||
|
||||
public JBIterable<String> getChildren(JBIterable<? extends Integer> children) {
|
||||
return children
|
||||
.map(this.<St<caret>ring>wrapper())
|
||||
.filter();
|
||||
}
|
||||
|
||||
protected <De extends String> Function<Integer, De> wrapper() {
|
||||
return null;
|
||||
}
|
||||
|
||||
abstract class JBIterable<E>{
|
||||
public final <T> JBIterable<T> map(Function<? super E, ? extends T> function) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final JBIterable<E> filter() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user