mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove E-specific nullable annos
This commit is contained in:
@@ -113,7 +113,6 @@ public abstract class JBIterator<E> implements Iterator<E> {
|
||||
return myNext != STOP;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public final E next() {
|
||||
advance();
|
||||
@@ -136,7 +135,6 @@ public abstract class JBIterator<E> implements Iterator<E> {
|
||||
/**
|
||||
* Returns the current element if any; otherwise throws exception.
|
||||
*/
|
||||
@Nullable
|
||||
public final E current() {
|
||||
if (myCurrent == NONE) throw new NoSuchElementException();
|
||||
return (E)myCurrent;
|
||||
|
||||
Reference in New Issue
Block a user