fixed misleading java-doc