Commit Graph

31 Commits

Author SHA1 Message Date
Luc Maisonobe c56bc8fa33 Forbid if/else/do/while/for without braces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1139906 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 18:42:32 +00:00
Luc Maisonobe a4e6f75c86 replaced @version tag by $Id$
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1131229 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 20:49:25 +00:00
Luc Maisonobe 82970077ae removed duplicate strings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981257 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 16:15:54 +00:00
Luc Maisonobe d9e60241d2 Added support for Gaussian curve fitting
JIRA: MATH-400

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@980938 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 20:16:18 +00:00
Phil Steitz bc877cbcf8 Make Checkstype happy.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@928245 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 18:59:39 +00:00
Luc Maisonobe 0cb01403a1 tighten checkstyle rules: declaring multiple variables in one statement is now forbidden
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@825919 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 14:51:55 +00:00
Luc Maisonobe e975825996 tightened checkstyle rules
catching top level exceptions (Exception, Throwable and RuntimeException) is now forbidden

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@824783 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 14:30:27 +00:00
Luc Maisonobe 5a63bb398c removed unnecessary parentheses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@811833 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 16:27:50 +00:00
Luc Maisonobe f8254ebbd3 use standard declaration order rules
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@811827 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 15:32:50 +00:00
Luc Maisonobe 54c0e73219 tighten rules for public/private/abstract/final/... modifiers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@811786 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 09:36:08 +00:00
Luc Maisonobe d485dca2ce added checkstyle rule to forbid @authors
authors should be listed in the pom file

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@811783 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 08:56:58 +00:00
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