equal
deleted
inserted
replaced
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 |