]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Explicitly enter naming convention values used as defaults by checkstyle, so that...
authorWilliam Victor Mote <vmote@apache.org>
Mon, 30 Jun 2003 18:16:36 +0000 (18:16 +0000)
committerWilliam Victor Mote <vmote@apache.org>
Mon, 30 Jun 2003 18:16:36 +0000 (18:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196548 13f79535-47bb-0310-9956-ffa450edef68

checkstyle.cfg

index bf1364f8b2a2d6fb854cd55c5d7551ca0e1de092..36b86e7f0b16962f8380f26fb5a6995380e7fb6f 100644 (file)
@@ -10,6 +10,26 @@ checkstyle.javadoc.scope = protected
 checkstyle.allow.noauthor = yes
 
 # Naming Conventions
+# non-static members
+checkstyle.pattern.member = ^[a-z][a-zA-Z0-9]*$
+# non-static, public members
+checkstyle.pattern.publicmember = ^f[A-Z][a-zA-Z0-9]*$
+# constants (static & final)
+checkstyle.pattern.const = ^[A-Z](_?[A-Z0-9]+)*$
+# other static
+checkstyle.pattern.static = ^[a-z][a-zA-Z0-9]*$
+# method parameters
+checkstyle.pattern.parameter = ^[a-z][a-zA-Z0-9]*$
+# packages
+checkstyle.pattern.package = ^[a-z]+(\.[a-zA-Z_][a-zA-Z_0-9]*)*$
+# classes and interfaces
+checkstyle.pattern.type = ^[A-Z][a-zA-Z0-9]*$
+# methods
+checkstyle.pattern.method = ^[a-z][a-zA-Z0-9]*$
+# local variables
+checkstyle.pattern.localvar = ^[a-z][a-zA-Z0-9]*$
+# final local variables
+checkstyle.pattern.localfinalvar = ^[a-z][a-zA-Z0-9]*$
 
 # Headers
 checkstyle.header.file = checkstyle.header