commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject svn commit: r787118 - /commons/proper/math/trunk/src/java/org/apache/commons/math/complex/Complex.java
Date Mon, 22 Jun 2009 00:26:10 GMT
Author: billbarker
Date: Mon Jun 22 00:26:09 2009
New Revision: 787118

URL: http://svn.apache.org/viewvc?rev=787118&view=rev
Log:
Yes, sebb is correct.  After running tests, readResolve needs to be visible to subclasses
to be used.  Since Complex is clearly designed to be subclassed, changing the visiblity.

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/complex/Complex.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/complex/Complex.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/complex/Complex.java?rev=787118&r1=787117&r2=787118&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/complex/Complex.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/complex/Complex.java Mon Jun
22 00:26:09 2009
@@ -976,7 +976,7 @@
      * @return A Complex instance with all fields resolved.
      * @since 2.0
      */
-    private final Object readResolve() {
+    protected final Object readResolve() {
         return createComplex(real, imaginary);
     }
     



Mime
View raw message