Hi.

On Sat, 08 Feb 2014 18:36:30 -0000, t...@apache.org wrote:
Author: tn
Date: Sat Feb  8 18:36:30 2014
New Revision: 1566088

URL: http://svn.apache.org/r1566088
Log:
Add missing serialVersionUIDs.

Those were not missing.
The class is not directly sent to the serialization stream; the
"SerializationProxy" is.

If need be, it's better to add a rule to ignore the generated
warning.


Gilles


Modified:


commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/oned/NeuronString.java


commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/twod/NeuronSquareMesh2D.java

Modified:

commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/oned/NeuronString.java
URL:

http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/oned/NeuronString.java?rev=1566088&r1=1566087&r2=1566088&view=diff

==============================================================================
---

commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/oned/NeuronString.java
(original)
+++

commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/oned/NeuronString.java
Sat Feb  8 18:36:30 2014
@@ -31,6 +31,10 @@ import org.apache.commons.math3.exceptio
  * @version $Id$
  */
 public class NeuronString implements Serializable {
+
+    /** Serializable UID. */
+    private static final long serialVersionUID = 20140208L;
+
     /** Underlying network. */
     private final Network network;
     /** Number of neurons. */

Modified:

commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/twod/NeuronSquareMesh2D.java
URL:

http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/twod/NeuronSquareMesh2D.java?rev=1566088&r1=1566087&r2=1566088&view=diff

==============================================================================
---

commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/twod/NeuronSquareMesh2D.java
(original)
+++

commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/twod/NeuronSquareMesh2D.java
Sat Feb  8 18:36:30 2014
@@ -41,6 +41,10 @@ import org.apache.commons.math3.exceptio
  * @version $Id$
  */
 public class NeuronSquareMesh2D implements Serializable {
+
+    /** Serializable UID. */
+    private static final long serialVersionUID = 20140208L;
+
     /** Underlying network. */
     private final Network network;
     /** Number of rows. */


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to