/[Apache-SVN]
ViewVC logotype

Revision 658671


Jump to revision: Previous Next
Author: luc
Date: Wed May 21 12:58:15 2008 UTC (16 years, 5 months ago)
Changed paths: 2
Log Message:
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.

Changed paths

Path Details
Directorycommons/proper/math/branches/MATH_2_0/checkstyle.xml modified , text changed
Directorycommons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/stat/inference/TestUtils.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26