Update Resolve.java

Third commit made in the GitHub repository