diff options
author | William Victor Mote <vmote@apache.org> | 2003-06-30 18:16:36 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-06-30 18:16:36 +0000 |
commit | 0f2d9126aebffc5a2c8f24ee75418e555fa3445d (patch) | |
tree | d255a4010c1a09ed7326c262c169d9909c2d67bd /checkstyle.cfg | |
parent | db41ac7d21d2085242223aaafcd6062424020fbc (diff) | |
download | xmlgraphics-fop-0f2d9126aebffc5a2c8f24ee75418e555fa3445d.tar.gz xmlgraphics-fop-0f2d9126aebffc5a2c8f24ee75418e555fa3445d.zip |
Explicitly enter naming convention values used as defaults by checkstyle, so that they can be more easily seen and managed, and so that any future changes in defaults will not affect our standards. No changes to the substance of the style conventions is made here.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196548 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'checkstyle.cfg')
-rw-r--r-- | checkstyle.cfg | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/checkstyle.cfg b/checkstyle.cfg index bf1364f8b..36b86e7f0 100644 --- a/checkstyle.cfg +++ b/checkstyle.cfg @@ -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 |