cvs commit: xml-fop checkstyle.cfg
vmote 2003/07/14 10:46:59 Modified:.checkstyle.cfg Log: Change checkstyle.pattern.publicmember property, in accordance with the discussion found at: http://marc.theaimsgroup.com/?t=10580550321&r=1&w=2 Revision ChangesPath 1.7 +2 -2 xml-fop/checkstyle.cfg Index: checkstyle.cfg === RCS file: /home/cvs/xml-fop/checkstyle.cfg,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- checkstyle.cfg14 Jul 2003 17:31:18 - 1.6 +++ checkstyle.cfg14 Jul 2003 17:46:59 - 1.7 @@ -16,7 +16,7 @@ # 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]*$ +checkstyle.pattern.publicmember = ^[a-z][a-zA-Z0-9]*$ # constants (static & final) checkstyle.pattern.const = ^[A-Z](_?[A-Z0-9]+)*$ # other static - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: xml-fop checkstyle.cfg
vmote 2003/07/14 10:31:18 Modified:.checkstyle.cfg Log: fix ugly little problem of having the same entry in the configuration twice, and wondering why changes to the first one are ineffective Revision ChangesPath 1.6 +6 -2 xml-fop/checkstyle.cfg Index: checkstyle.cfg === RCS file: /home/cvs/xml-fop/checkstyle.cfg,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- checkstyle.cfg30 Jun 2003 19:21:17 - 1.5 +++ checkstyle.cfg14 Jul 2003 17:31:18 - 1.6 @@ -64,7 +64,11 @@ checkstyle.ignore.public.in.interface = false checkstyle.allow.protected = yes checkstyle.allow.package = false -checkstyle.pattern.publicmember = ^f[A-Z][a-zA-Z0-9]*$ +# Note -- checkstyle.pattern.publicmember is documented in this location +# in the checkstyle documentation. However, it is also included in the "Naming +# Conventions" section above. Please do not add it here, as having two in the +# file will result in changes to only one being ignored (checkstyle appears to +# use the last definition). # Blocks checkstyle.ignore.braces = false - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: xml-fop checkstyle.cfg
vmote 2003/06/30 12:21:17 Modified:.checkstyle.cfg Log: Explicitly enter remaining 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 ChangesPath 1.5 +34 -6 xml-fop/checkstyle.cfg Index: checkstyle.cfg === RCS file: /home/cvs/xml-fop/checkstyle.cfg,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- checkstyle.cfg30 Jun 2003 18:16:36 - 1.4 +++ checkstyle.cfg30 Jun 2003 19:21:17 - 1.5 @@ -7,7 +7,10 @@ # Javadoc Comments checkstyle.javadoc.scope = protected +checkstyle.require.packagehtml = false +checkstyle.require.version = false checkstyle.allow.noauthor = yes +checkstyle.javadoc.checkUnusedThrows = false # Naming Conventions # non-static members @@ -33,24 +36,49 @@ # Headers checkstyle.header.file = checkstyle.header +checkstyle.header.ignoreline checkstyle.header.regexp = yes -# Imports +# Imports +checkstyle.ignore.imports = false +checkstyle.illegal.imports = sun # Size Violations checkstyle.maxlinelen = 100 checkstyle.tab.width = 4 checkstyle.ignore.importlength = yes +checkstyle.ignore.maxlinelen = ^$ +checkstyle.maxmethodlen = 150 +checkstyle.maxconstructorlen = 150 +checkstyle.maxfilelen = 2000 +checkstyle.maxparameters = 7 # Whitespace checkstyle.allow.tabs = no +checkstyle.ignore.whitespace = false checkstyle.ignore.whitespace.cast = yes +checkstyle.paren.pad = nospace +checkstyle.wrap.operator = nl -# Modifiers +# Modifiers +checkstyle.ignore.public.in.interface = false checkstyle.allow.protected = yes +checkstyle.allow.package = false +checkstyle.pattern.publicmember = ^f[A-Z][a-zA-Z0-9]*$ -# Blocks - -# Miscellaneous Checks +# Blocks +checkstyle.ignore.braces = false +checkstyle.block.try = stmt +checkstyle.block.catch = text +checkstyle.block.finally = stmt +checkstyle.lcurly.type = eol +checkstyle.lcurly.method = eol +checkstyle.lcurly.other = eol +checkstyle.rcurly = same + +# Miscellaneous Checks +checkstyle.pattern.todo = TODO: +checkstyle.ignore.longell = false +checkstyle.illegal.instantiations = # Last Line of $RCSfile$ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: xml-fop checkstyle.cfg
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 ChangesPath 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.cfg30 Jun 2003 16:13:15 - 1.3 +++ checkstyle.cfg30 Jun 2003 18:16:36 - 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]
cvs commit: xml-fop checkstyle.cfg
vmote 2003/06/30 09:04:11 Modified:.checkstyle.cfg Log: Sort properties in same order as documentation for easier reference. Add some comments. There are no intended changes to the substance. Revision ChangesPath 1.2 +31 -5 xml-fop/checkstyle.cfg Index: checkstyle.cfg === RCS file: /home/cvs/xml-fop/checkstyle.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- checkstyle.cfg5 Sep 2002 15:53:56 - 1.1 +++ checkstyle.cfg30 Jun 2003 16:04:10 - 1.2 @@ -1,10 +1,36 @@ -checkstyle.allow.tabs = no -checkstyle.tab.width = 4 +# $Id$ + +# Checkstyle configuration for the Apache FOP project. +# See http://xml.apache.org/fop for information about FOP. +# The entries here are sorted in the order of the Checkstyle 2.4 documentation +# for easier reference. + +# Javadoc Comments +checkstyle.javadoc.scope = protected checkstyle.allow.noauthor = yes + +# Naming Conventions + +# Headers +checkstyle.header.file = checkstyle.header +checkstyle.header.regexp = yes + +# Imports + +# Size Violations checkstyle.maxlinelen = 100 -checkstyle.javadoc.scope = protected +checkstyle.tab.width = 4 checkstyle.ignore.importlength = yes + +# Whitespace +checkstyle.allow.tabs = no checkstyle.ignore.whitespace.cast = yes + +# Modifiers checkstyle.allow.protected = yes -checkstyle.header.file = checkstyle.header -checkstyle.header.regexp = yes \ No newline at end of file + +# Blocks + +# Miscellaneous Checks + +# Last Line of $RCSFile$ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]