Iterator.remove() has a default implementation

This commit is contained in:
Liam Newman
2020-02-23 21:29:36 -08:00
parent 9e8bbfd175
commit c60698ff7e
6 changed files with 8 additions and 20 deletions

View File

@@ -207,10 +207,6 @@ public class GHNotificationStream implements Iterable<GHThread> {
long seconds = Integer.parseInt(v);
return System.currentTimeMillis() + seconds * 1000;
}
public void remove() {
throw new UnsupportedOperationException();
}
};
}