Removed unnecessary variable from Main.java.