java/scaladoc tweaks