fix typo in java.tmpl