Author: azeez Date: Thu Jan 6 11:37:06 2011 New Revision: 1055836 URL: http://svn.apache.org/viewvc?rev=1055836&view=rev Log: Fix for AXIS2-3848
Modified: axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NegativeInteger.java axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NonNegativeInteger.java axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NonPositiveInteger.java axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/PositiveInteger.java Modified: axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NegativeInteger.java URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NegativeInteger.java?rev=1055836&r1=1055835&r2=1055836&view=diff ============================================================================== --- axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NegativeInteger.java (original) +++ axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NegativeInteger.java Thu Jan 6 11:37:06 2011 @@ -84,11 +84,15 @@ public class NegativeInteger extends Non * * @return BigIntegerRep * @throws java.io.ObjectStreamException + * @deprecated As per https://issues.apache.org/jira/browse/AXIS2-3848 */ public Object writeReplace() throws ObjectStreamException { return new BigIntegerRep(toByteArray()); } + /** + * @deprecated As per https://issues.apache.org/jira/browse/AXIS2-3848 + */ protected static class BigIntegerRep implements java.io.Serializable { private static final long serialVersionUID = 1209618487031404110L; private byte[] array; Modified: axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NonNegativeInteger.java URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NonNegativeInteger.java?rev=1055836&r1=1055835&r2=1055836&view=diff ============================================================================== --- axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NonNegativeInteger.java (original) +++ axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NonNegativeInteger.java Thu Jan 6 11:37:06 2011 @@ -78,11 +78,15 @@ public class NonNegativeInteger extends * * @return BigIntegerRep * @throws ObjectStreamException + * @deprecated As per https://issues.apache.org/jira/browse/AXIS2-3848 */ public Object writeReplace() throws ObjectStreamException { return new BigIntegerRep(toByteArray()); } + /** + * @deprecated As per https://issues.apache.org/jira/browse/AXIS2-3848 + */ protected static class BigIntegerRep implements java.io.Serializable { private static final long serialVersionUID = -6135065605514678689L; private byte[] array; Modified: axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NonPositiveInteger.java URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NonPositiveInteger.java?rev=1055836&r1=1055835&r2=1055836&view=diff ============================================================================== --- axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NonPositiveInteger.java (original) +++ axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/NonPositiveInteger.java Thu Jan 6 11:37:06 2011 @@ -82,11 +82,15 @@ public class NonPositiveInteger extends * * @return BigIntegerRep * @throws java.io.ObjectStreamException + * @deprecated As per https://issues.apache.org/jira/browse/AXIS2-3848 */ public Object writeReplace() throws ObjectStreamException { return new BigIntegerRep(toByteArray()); } + /** + * @deprecated As per https://issues.apache.org/jira/browse/AXIS2-3848 + */ protected static class BigIntegerRep implements java.io.Serializable { private static final long serialVersionUID = -3601357690365698517L; private byte[] array; Modified: axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/PositiveInteger.java URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/PositiveInteger.java?rev=1055836&r1=1055835&r2=1055836&view=diff ============================================================================== --- axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/PositiveInteger.java (original) +++ axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/PositiveInteger.java Thu Jan 6 11:37:06 2011 @@ -83,11 +83,15 @@ public class PositiveInteger extends Non * * @return BigIntegerRep * @throws java.io.ObjectStreamException + * @deprecated As per https://issues.apache.org/jira/browse/AXIS2-3848 */ public Object writeReplace() throws ObjectStreamException { return new BigIntegerRep(toByteArray()); } + /** + * @deprecated As per https://issues.apache.org/jira/browse/AXIS2-3848 + */ protected static class BigIntegerRep implements java.io.Serializable { private static final long serialVersionUID = 1251664160936150499L; private byte[] array;