Fixed typo in Java/GetCredentials.md