Skip to content

Commit

Permalink
added checkstyle rule to forbid @authors
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Luc Maisonobe committed Sep 6, 2009
1 parent 39e7aea commit fd5e4bf
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 24 deletions.
7 changes: 7 additions & 0 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@
<property name="illegalPattern" value="true"/>
</module>

<!-- Authors should be in pom.xml file -->
<module name="Regexp">
<property name="format" value="@author"/>
<property name="illegalPattern" value="true"/>
<property name="message" value="developers names should be in pom file"/>
</module>

<!--
<module name="DeclarationOrder" />
<module name="IllegalCatch" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
* be replaced with 'j' (or anything else), and the number format for both real
* and imaginary parts can be configured.
*
* @author Apache Software Foundation
* @version $Revision$ $Date$
*/
public class ComplexFormat extends CompositeFormat {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,15 @@
* changes. The changes include the over-determined resolution and the Q.R.
* decomposition which has been rewritten following the algorithm described in the
* P. Lascaux and R. Theodor book <i>Analyse num&eacute;rique matricielle
* appliqu&eacute;e &agrave; l'art de l'ing&eacute;nieur</i>, Masson 1986. The
* redistribution policy for MINPACK is available <a
* appliqu&eacute;e &agrave; l'art de l'ing&eacute;nieur</i>, Masson 1986.</p>
* <p>The authors of the original fortran version are:
* <ul>
* <li>Argonne National Laboratory. MINPACK project. March 1980</li>
* <li>Burton S. Garbow</li>
* <li>Kenneth E. Hillstrom</li>
* <li>Jorge J. More</li>
* </ul>
* The redistribution policy for MINPACK is available <a
* href="http://www.netlib.org/minpack/disclaimer">here</a>, for convenience, it
* is reproduced below.</p>
*
Expand Down Expand Up @@ -87,11 +94,6 @@
* <ol></td></tr>
* </table>
* @author Argonne National Laboratory. MINPACK project. March 1980 (original fortran)
* @author Burton S. Garbow (original fortran)
* @author Kenneth E. Hillstrom (original fortran)
* @author Jorge J. More (original fortran)
* @version $Revision$ $Date$
* @since 1.2
* @deprecated as of 2.0, everything in package org.apache.commons.math.estimation has
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,15 @@
* href="http://www.netlib.org/lapack/lawnspdf/lawn155.pdf">An Implementation of the
* dqds Algorithm (Positive Case)</a> and on the corresponding LAPACK routines (DLARRE,
* DLASQ2, DLAZQ3, DLAZQ4, DLASQ5 and DLASQ6).</p>
* @author Beresford Parlett, University of California, Berkeley, USA (fortran version)
* @author Jim Demmel, University of California, Berkeley, USA (fortran version)
* @author Inderjit Dhillon, University of Texas, Austin, USA(fortran version)
* @author Osni Marques, LBNL/NERSC, USA (fortran version)
* @author Christof Voemel, University of California, Berkeley, USA(fortran version)
* <p>The authors of the original fortran version are:
* <ul>
* <li>Beresford Parlett, University of California, Berkeley, USA</li>
* <li>Jim Demmel, University of California, Berkeley, USA</li>
* <li>Inderjit Dhillon, University of Texas, Austin, USA</li>
* <li>Osni Marques, LBNL/NERSC, USA</li>
* <li>Christof Voemel, University of California, Berkeley, USA</li>
* </ul>
* </p>
* @version $Revision$ $Date$
* @since 2.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</strong></td></tr>
* </table>
*
* @author E. Hairer and G. Wanner (fortran version)
* @version $Revision$ $Date$
* @since 1.2
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
*
* @see GraggBulirschStoerIntegrator
* @version $Revision$ $Date$
* @author E. Hairer and G. Wanner (fortran version)
* @since 1.2
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,15 @@
* changes. The changes include the over-determined resolution and the Q.R.
* decomposition which has been rewritten following the algorithm described in the
* P. Lascaux and R. Theodor book <i>Analyse num&eacute;rique matricielle
* appliqu&eacute;e &agrave; l'art de l'ing&eacute;nieur</i>, Masson 1986. The
* redistribution policy for MINPACK is available <a
* appliqu&eacute;e &agrave; l'art de l'ing&eacute;nieur</i>, Masson 1986.</p>
* <p>The authors of the original fortran version are:
* <ul>
* <li>Argonne National Laboratory. MINPACK project. March 1980</li>
* <li>Burton S. Garbow</li>
* <li>Kenneth E. Hillstrom</li>
* <li>Jorge J. More</li>
* </ul>
* The redistribution policy for MINPACK is available <a
* href="http://www.netlib.org/minpack/disclaimer">here</a>, for convenience, it
* is reproduced below.</p>
*
Expand Down Expand Up @@ -89,12 +96,6 @@
* POSSIBILITY OF SUCH LOSS OR DAMAGES.</strong></li>
* <ol></td></tr>
* </table>
* @author Argonne National Laboratory. MINPACK project. March 1980 (original fortran)
* @author Burton S. Garbow (original fortran)
* @author Kenneth E. Hillstrom (original fortran)
* @author Jorge J. More (original fortran)
* @version $Revision$ $Date$
* @since 2.0
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
/**
* Base class for formatters of composite objects (complex numbers, vectors ...).
*
* @author Apache Software Foundation
* @version $Revision$ $Date$
*/
public abstract class CompositeFormat extends Format {
Expand Down

0 comments on commit fd5e4bf

Please sign in to comment.