mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
process override equivalent methods when check for functional interface target (IDEA-153324)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import java.util.*;
|
||||
|
||||
@FunctionalInterface
|
||||
interface InfiniteIntIterator extends InfiniteIterator<Integer>, PrimitiveIterator.OfInt {}
|
||||
|
||||
@FunctionalInterface
|
||||
interface InfiniteIterator<T> extends Iterator<T> {
|
||||
@Override
|
||||
default boolean hasNext() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user