Fix errors specified in #410.
Merge pull request #411 from adambrenecki/java-errors

[java/en] Fix errors specified in #410.