You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[java] ClassNamingConventions shouldn't prohibit numbers in class names #1065
Description: ClassNamingConventions shouldn't prohibit numbers in class names by default. I don't see anything wrong with class named e.g. Md5Checksum. Actually there are hundreds of classes with numbers in their names in JDK itself, e.g. MD5, SHA1, SHA256 etc.
Code Sample demonstrating the issue:
public class Md5Checksum {}
[ClassNamingConventions] The class name 'Md5Checksum' doesn't match '[A-Z][a-zA-Z]+
Activity
oowekyala commentedon Apr 30, 2018
Yes that's right, that was a bit of a shortsighted move. I'll push a fix
Update release notes, refs pmd#1070
Allow numbers in utility class names by default