# | Line 506 | Line 506 | public class SynchronousQueue<E> extends | |
---|---|---|
506 | throw new NoSuchElementException(); | |
507 | } | |
508 | public void remove() { | |
509 | < | throw new UnsupportedOperationException(); |
509 | > | throw new IllegalStateException(); |
510 | } | |
511 | } | |
512 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |