Update Application.java

removed i from loop