[java] minor