Update outdated comment in Java example