Update Shell.java

Add "final".