Update of /cvsroot/sunxacml/sunxacml/com/sun/xacml/attr
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15614/com/sun/xacml/attr
Modified Files:
Tag: branch_1_2
StringAttribute.java
Log Message:
updated to accept null string correctly in constructor
Index: StringAttribute.java
===================================================================
RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/attr/StringAttribute.java,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -C2 -d -r1.4 -r1.4.2.1
*** StringAttribute.java 17 Mar 2004 18:03:38 -0000 1.4
--- StringAttribute.java 17 Jan 2005 04:05:52 -0000 1.4.2.1
***************
*** 3,7 ****
* @(#)StringAttribute.java
*
! * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
--- 3,7 ----
* @(#)StringAttribute.java
*
! * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
***************
*** 118,122 ****
throw earlyException;
! this.value = value;
}
--- 118,125 ----
throw earlyException;
! if (value == null)
! this.value = "";
! else
! this.value = value;
}
|