jdk/src/share/classes/java/util/LinkedList.java
changeset 10419 12c063b39232
parent 9035 1255eb81cc2f
child 17168 b7d3500f2516
equal deleted inserted replaced
10418:1d57022fdb6e 10419:12c063b39232
   992     @SuppressWarnings("unchecked")
   992     @SuppressWarnings("unchecked")
   993     private LinkedList<E> superClone() {
   993     private LinkedList<E> superClone() {
   994         try {
   994         try {
   995             return (LinkedList<E>) super.clone();
   995             return (LinkedList<E>) super.clone();
   996         } catch (CloneNotSupportedException e) {
   996         } catch (CloneNotSupportedException e) {
   997             throw new InternalError();
   997             throw new InternalError(e);
   998         }
   998         }
   999     }
   999     }
  1000 
  1000 
  1001     /**
  1001     /**
  1002      * Returns a shallow copy of this {@code LinkedList}. (The elements
  1002      * Returns a shallow copy of this {@code LinkedList}. (The elements