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 Changes Path
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.cfg 30 Jun 2003 18:16:36 -0000 1.4
+++ checkstyle.cfg 30 Jun 2003 19:21:17 -0000 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$
Advertising
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]