Update List.java

Removed unneeded line of code