APPS-5645 fix to getUrl string formatting in java example