vmote 2003/06/30 11:16:36 Modified: . checkstyle.cfg Log: 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. Revision Changes Path 1.4 +22 -2 xml-fop/checkstyle.cfg Index: checkstyle.cfg =================================================================== RCS file: /home/cvs/xml-fop/checkstyle.cfg,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- checkstyle.cfg 30 Jun 2003 16:13:15 -0000 1.3 +++ checkstyle.cfg 30 Jun 2003 18:16:36 -0000 1.4 @@ -10,6 +10,26 @@ 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
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
