Conversion warning in javadoc