Java SDK: fix old typos