commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdigg...@apache.org
Subject cvs commit: jakarta-commons/math/src/java/org/apache/commons/math/linear RealMatrixImpl.java InvalidMatrixException.java MatrixIndexException.java
Date Wed, 02 Jun 2004 00:06:18 GMT
mdiggory    2004/06/01 17:06:18

  Modified:    math/src/java/org/apache/commons/math/linear
                        RealMatrixImpl.java InvalidMatrixException.java
                        MatrixIndexException.java
  Log:
  Adding serialversionUID to control versioning and allow for implementations that would like
to maintain serialization.
  
  Revision  Changes    Path
  1.21      +4 -1      jakarta-commons/math/src/java/org/apache/commons/math/linear/RealMatrixImpl.java
  
  Index: RealMatrixImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/linear/RealMatrixImpl.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- RealMatrixImpl.java	19 May 2004 14:16:32 -0000	1.20
  +++ RealMatrixImpl.java	2 Jun 2004 00:06:18 -0000	1.21
  @@ -42,6 +42,9 @@
    */
   public class RealMatrixImpl implements RealMatrix, Serializable {
   
  +    /** Serializable version identifier */
  +    static final long serialVersionUID = 4237564493130426188L;
  +    
   	/** Entries of the matrix */
   	private double data[][] = null;
   
  
  
  
  1.5       +5 -1      jakarta-commons/math/src/java/org/apache/commons/math/linear/InvalidMatrixException.java
  
  Index: InvalidMatrixException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/linear/InvalidMatrixException.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- InvalidMatrixException.java	27 Apr 2004 04:37:58 -0000	1.4
  +++ InvalidMatrixException.java	2 Jun 2004 00:06:18 -0000	1.5
  @@ -25,6 +25,10 @@
    * @version $Revision$ $Date$
    */
   public class InvalidMatrixException extends NestableRuntimeException {
  +    
  +    /** Serializable version identifier */
  +    static final long serialVersionUID = 5318837237354354107L;
  +    
       /**
        * Default constructor.
        */
  
  
  
  1.5       +5 -1      jakarta-commons/math/src/java/org/apache/commons/math/linear/MatrixIndexException.java
  
  Index: MatrixIndexException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/linear/MatrixIndexException.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MatrixIndexException.java	27 Apr 2004 04:37:58 -0000	1.4
  +++ MatrixIndexException.java	2 Jun 2004 00:06:18 -0000	1.5
  @@ -24,6 +24,10 @@
    * @version $Revision$ $Date$
    */
   public class MatrixIndexException extends NestableRuntimeException {
  +    
  +    /** Serializable version identifier */
  +    static final long serialVersionUID = -1341109412864309526L;
  +    
       /**
        * Default constructor.
        */
  
  
  

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


Mime
View raw message