Update of /cvsroot/xdoclet/xdoclet/core/test/src/xdoclet/retest/ref/ejb/interfaces
In directory
sc8-pr-cvs1:/tmp/cvs-serv22850/xdoclet/core/test/src/xdoclet/retest/ref/ejb/interfaces
Modified Files:
InheritedCMPSubPK.java InheritedCMPSuperPK.java
SimpleCMPPK.java
Log Message:
Applied Lennart Petersson's patch for
PK hashcode value will be lost when serializing (XDT-397)
Index: InheritedCMPSubPK.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/core/test/src/xdoclet/retest/ref/ejb/interfaces/InheritedCMPSubPK.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** InheritedCMPSubPK.java 12 Jun 2002 21:27:53 -0000 1.2
--- InheritedCMPSubPK.java 21 Mar 2003 15:55:37 -0000 1.3
***************
*** 15,19 ****
implements java.io.Serializable
{
! transient private int _hashCode = Integer.MIN_VALUE;
transient private String value = null;
--- 15,19 ----
implements java.io.Serializable
{
! transient private int _hashCode = 0;
transient private String value = null;
***************
*** 24,28 ****
public int hashCode()
{
! if( _hashCode == Integer.MIN_VALUE )
{
}
--- 24,28 ----
public int hashCode()
{
! if( _hashCode == 0 )
{
}
Index: InheritedCMPSuperPK.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/core/test/src/xdoclet/retest/ref/ejb/interfaces/InheritedCMPSuperPK.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** InheritedCMPSuperPK.java 12 Jun 2002 21:27:53 -0000 1.2
--- InheritedCMPSuperPK.java 21 Mar 2003 15:55:37 -0000 1.3
***************
*** 15,19 ****
implements java.io.Serializable
{
! transient private int _hashCode = Integer.MIN_VALUE;
transient private String value = null;
--- 15,19 ----
implements java.io.Serializable
{
! transient private int _hashCode = 0;
transient private String value = null;
***************
*** 24,28 ****
public int hashCode()
{
! if( _hashCode == Integer.MIN_VALUE )
{
}
--- 24,28 ----
public int hashCode()
{
! if( _hashCode == 0 )
{
}
Index: SimpleCMPPK.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/core/test/src/xdoclet/retest/ref/ejb/interfaces/SimpleCMPPK.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** SimpleCMPPK.java 12 Jun 2002 21:27:53 -0000 1.2
--- SimpleCMPPK.java 21 Mar 2003 15:55:37 -0000 1.3
***************
*** 15,19 ****
implements java.io.Serializable
{
! transient private int _hashCode = Integer.MIN_VALUE;
transient private String value = null;
--- 15,19 ----
implements java.io.Serializable
{
! transient private int _hashCode = 0;
transient private String value = null;
***************
*** 24,28 ****
public int hashCode()
{
! if( _hashCode == Integer.MIN_VALUE )
{
}
--- 24,28 ----
public int hashCode()
{
! if( _hashCode == 0 )
{
}
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel