Community
Participate
Working Groups
import org.apache.commons.lang.enum.Enum; The enum package gets underlined by this warning.
If 5.0 you can't have a package where 'enum' is a fragment. JavaConventions should warn for such names. It seems we need an extra parameter on the validate methods to know if this is a validation for 5.0 or for less.
Closing as dup of bug 135105. One way to fix it would be that the scanner used by the JavaConventions is a 1.5 scanner. Then it would reject assert and enum as a keyword. Or we need to pass in the compiler options to propose identifiers according to the source setting. *** This bug has been marked as a duplicate of 135105 ***