diff --git a/pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/ClassNamingConventions.xml b/pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/ClassNamingConventions.xml
index eaa580e671..d065e91f2b 100644
--- a/pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/ClassNamingConventions.xml
+++ b/pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/ClassNamingConventions.xml
@@ -196,42 +196,40 @@ public enum FooEnum { }
- Inner class naming convention, class name failed to match RegEx #5048
+ #4800 #5048 Inner class/interface naming convention, names fail to match RegEx
[A-Za-z]
- 1
+ [A-Za-z]
+ 2
-
- Inner class has one standard, outer class has another,
+ #4800 #5048 Inner class/interface has one standard, outer class has another,
and an inner enum has another (should pass.)
* Inner class should be camel case.
* Outer class should have a prefix (one character, all caps), underscore, then camel case.
* Enum name should be all caps (not best practice!)
- * See #5048
- [A-Za-z]+
[A-Z]_[A-Za-z]+
+ [A-Za-z]+
+ [A-Za-z]+
[A-Z]+
0