From 4d6b650afe693d600bab71ef6d61259d1520967c Mon Sep 17 00:00:00 2001 From: "Gregory.Shrago" Date: Fri, 14 Oct 2016 05:35:11 +0300 Subject: [PATCH] remove E-specific nullable annos --- platform/util/src/com/intellij/util/containers/JBIterator.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/util/src/com/intellij/util/containers/JBIterator.java b/platform/util/src/com/intellij/util/containers/JBIterator.java index 41ed573978ed..73356e3d136e 100644 --- a/platform/util/src/com/intellij/util/containers/JBIterator.java +++ b/platform/util/src/com/intellij/util/containers/JBIterator.java @@ -113,7 +113,6 @@ public abstract class JBIterator implements Iterator { return myNext != STOP; } - @Nullable @Override public final E next() { advance(); @@ -136,7 +135,6 @@ public abstract class JBIterator implements Iterator { /** * Returns the current element if any; otherwise throws exception. */ - @Nullable public final E current() { if (myCurrent == NONE) throw new NoSuchElementException(); return (E)myCurrent;