commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1200351 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math: linear/ConjugateGradient.java linear/SymmLQ.java optimization/direct/BOBYQAOptimizer.java
Date Thu, 10 Nov 2011 14:47:08 GMT
Author: sebb
Date: Thu Nov 10 14:47:07 2011
New Revision: 1200351

URL: http://svn.apache.org/viewvc?rev=1200351&view=rev
Log:
Add missing serialVersionUId

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ConjugateGradient.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SymmLQ.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/direct/BOBYQAOptimizer.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ConjugateGradient.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ConjugateGradient.java?rev=1200351&r1=1200350&r2=1200351&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ConjugateGradient.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ConjugateGradient.java
Thu Nov 10 14:47:07 2011
@@ -194,6 +194,8 @@ public class ConjugateGradient
         final IterativeLinearSolverEvent event;
         event = new ConjugateGradientEvent(this) {
 
+            private static final long serialVersionUID = 756911840348776676L;
+
             public RealVector getResidual() {
                 return ArrayRealVector.unmodifiableRealVector(r);
             }

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SymmLQ.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SymmLQ.java?rev=1200351&r1=1200350&r2=1200351&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SymmLQ.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SymmLQ.java Thu
Nov 10 14:47:07 2011
@@ -1216,6 +1216,8 @@ public class SymmLQ
         final IterativeLinearSolverEvent event;
         event = new IterativeLinearSolverEvent(this) {
 
+           private static final long serialVersionUID = 3656926699603081076L;
+
             @Override
             public RealVector getRightHandSideVector() {
                 return bb;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/direct/BOBYQAOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/direct/BOBYQAOptimizer.java?rev=1200351&r1=1200350&r2=1200351&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/direct/BOBYQAOptimizer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/direct/BOBYQAOptimizer.java
Thu Nov 10 14:47:07 2011
@@ -2470,6 +2470,8 @@ public class BOBYQAOptimizer
  * If the path becomes explored, it should just be removed from the code.
  */
 class PathIsExploredException extends RuntimeException {
+    private static final long serialVersionUID = 745350979634801853L;
+
     private static final String PATH_IS_EXPLORED
         = "If this exception is thrown, just remove it from the code";
 



Mime
View raw message