Apply review feedback for Java example.
Apply review feedback for Java example.

sphereio/sphere-hello-api,sphereio/sphere-hello-api,sphereio/sphere-hello-api,sphereio/sphere-hello-api,sphereio/sphere-hello-api,sphereio/sphere-hello-api