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

This should fix the errors @jayrevis mentions in issue #410, with the exception of number 1, where I'm not 100% sure what the problem is. (Is it the fact the original authors have used words instead of the appropriate Java keywords, or something else?)