Fixes java doc to avoid compile errors.