Commit Graph

20 Commits

Author SHA1 Message Date
Phil Steitz 208aff49c1 Added check for System.out.println stmts in code.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@811691 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 18:11:50 +00:00
Phil Steitz 0202b17e47 Added check for newline at end of file.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@811690 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 18:00:17 +00:00
Phil Steitz dc9278a2aa Removed trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@811685 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 17:36:48 +00:00
Luc Maisonobe 0283b0c935 tighten checkstyle rules for hidden fields
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@810238 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 21:02:59 +00:00
Luc Maisonobe 0234e46518 tighten rules for constants naming conventions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@810196 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 19:47:46 +00:00
Luc Maisonobe a3217e90b9 tighten checkstyle rules for switch statements
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@810179 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 19:12:50 +00:00
Luc Maisonobe 5444ff3879 Added a check for utility class constructor which must be private to prevent instantiation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@810173 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 19:03:19 +00:00
Luc Maisonobe a43d721f85 tighten checkstyle rules for import statements
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@809744 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 20:59:15 +00:00
Phil Steitz e2b8720d5d Removed tabs.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766494 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 18:05:48 +00:00
Niall Pemberton beae2e9891 COMMONSSITE-30 - fix the checkstyle configuration to work for multi-module and review/update <reporting> plugin version numbers for the poms being changed.
- pom's need to use ${basedir} for configuration files as the multi-module profile is run from commons-parent, so if not specified it can't find those files
 - the checkstyle configuration file needs to use ${checkstyle.header.file} for the headerFile property and  <headerFile> element added to the plugin config in the pom.xml
 - fix m1 checkstyle config to reflect the above where appropriate (specify header file property)


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@659441 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 06:14:37 +00:00
Luc Maisonobe 93a8bb4f13 Configured checkstyle to stop complaining about incomplete Javadoc in some very specific cases.
This problem has been discussed previously here:
  http://markmail.org/message/pmbiyiqssjesq7tm

The solution implemented with this modification is to configure checkstyle
in such a way the errors can be filtered out using dedicated comments in the
source code:

  // CHECKSTYLE: stop JavadocMethodCheck

  // a bunch of functions known to trigger warnings
  // that we explicitly REFUSE to fix

  // CHECKSTYLE: resume JavadocMethodCheck

The checks are still performed normally in file parts not bracketed by
these comments. Hence the first few methods in o.a.c.m.stat.inference.TestUtils are
still checked for correct javadoc, and only for the last ones in the same files
are the checks relaxed.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@658671 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 12:58:15 +00:00
Henri Yandell 4dd57aafc1 Fixed copyright header (committing in parts as the full commit timed out)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@480435 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 07:06:35 +00:00
Phil Steitz 7f8947c03c Merged build fixes from MATH_1_1 release branch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@358644 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 21:59:17 +00:00
Phil Steitz 86b71e2963 Removed basedir property, causes updated plugin to fail.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141411 13f79535-47bb-0310-9956-ffa450edef68
2004-07-24 21:40:25 +00:00
Brent Worden 4952dd85d6 Fixed some checkstyle warnings. Changed checkstyle settings to use APL 2.0.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141200 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 04:37:59 +00:00
Phil Steitz 94f23a61b5 Added copyright notice and reference to 2.0 license.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141107 13f79535-47bb-0310-9956-ffa450edef68
2004-02-28 17:47:37 +00:00
Mark R. Diggory a58c503cf5 Recovering Tree
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141011 13f79535-47bb-0310-9956-ffa450edef68
2003-11-14 21:46:30 +00:00
Mark R. Diggory e389289e77 Committing promotion to commons proper!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141010 13f79535-47bb-0310-9956-ffa450edef68
2003-11-01 16:09:22 +00:00
Mark R. Diggory ffa6aac264 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22954
Submitted by:	Brent Worden
Reviewed by:	Mark Diggory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140994 13f79535-47bb-0310-9956-ffa450edef68
2003-09-07 03:12:56 +00:00
Tim O'Brien e449062da5 This XML configuration file will work with the most recent Maven plugin for Checkstyle, just change the project.properties to point to this XML file.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140970 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 13:57:13 +00:00