Update Shell.java

Delete repeat.