Java: Minor changes in commit 6c2b067c9b911f404332e0f045bf92b82f06075d