You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2009/09/06 10:56:59 UTC

svn commit: r811783 - in /commons/proper/math/trunk: ./ src/main/java/org/apache/commons/math/complex/ src/main/java/org/apache/commons/math/estimation/ src/main/java/org/apache/commons/math/linear/ src/main/java/org/apache/commons/math/ode/nonstiff/ s...

Author: luc
Date: Sun Sep  6 08:56:58 2009
New Revision: 811783

URL: http://svn.apache.org/viewvc?rev=811783&view=rev
Log:
added checkstyle rule to forbid @authors
authors should be listed in the pom file

Modified:
    commons/proper/math/trunk/checkstyle.xml
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/estimation/LevenbergMarquardtEstimator.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerStepInterpolator.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java

Modified: commons/proper/math/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/checkstyle.xml?rev=811783&r1=811782&r2=811783&view=diff
==============================================================================
--- commons/proper/math/trunk/checkstyle.xml (original)
+++ commons/proper/math/trunk/checkstyle.xml Sun Sep  6 08:56:58 2009
@@ -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" />

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java?rev=811783&r1=811782&r2=811783&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java Sun Sep  6 08:56:58 2009
@@ -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 {

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/estimation/LevenbergMarquardtEstimator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/estimation/LevenbergMarquardtEstimator.java?rev=811783&r1=811782&r2=811783&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/estimation/LevenbergMarquardtEstimator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/estimation/LevenbergMarquardtEstimator.java Sun Sep  6 08:56:58 2009
@@ -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>
  *
@@ -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

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java?rev=811783&r1=811782&r2=811783&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java Sun Sep  6 08:56:58 2009
@@ -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
  */

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java?rev=811783&r1=811782&r2=811783&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java Sun Sep  6 08:56:58 2009
@@ -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
  */

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerStepInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerStepInterpolator.java?rev=811783&r1=811782&r2=811783&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerStepInterpolator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerStepInterpolator.java Sun Sep  6 08:56:58 2009
@@ -71,7 +71,6 @@
  *
  * @see GraggBulirschStoerIntegrator
  * @version $Revision$ $Date$
- * @author E. Hairer and G. Wanner (fortran version)
  * @since 1.2
  */
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java?rev=811783&r1=811782&r2=811783&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java Sun Sep  6 08:56:58 2009
@@ -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>
  *
@@ -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
  *

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java?rev=811783&r1=811782&r2=811783&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java Sun Sep  6 08:56:58 2009
@@ -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 {