CSPACE-6359: Misc cleanup of code and comments in RepositoryJavaClientImpl.