|
From: Ladislav U. <lad...@us...> - 2006-01-04 18:49:17
|
Update of /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/packaging In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29334/hk/hku/cecid/phoenix/message/packaging Modified Files: MessageHeader.java Log Message: Fix of role Index: MessageHeader.java =================================================================== RCS file: /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/packaging/MessageHeader.java,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** MessageHeader.java 4 Jan 2006 18:20:58 -0000 1.17 --- MessageHeader.java 4 Jan 2006 18:49:07 -0000 1.18 *************** *** 758,762 **** public void setFromRole(String role) throws SOAPException { /** Set the role only if role attribure is not null **/ ! if (role.equals(null) == false) { if (fromRole == null) { --- 758,762 ---- public void setFromRole(String role) throws SOAPException { /** Set the role only if role attribure is not null **/ ! if (role != null) { if (fromRole == null) { *************** *** 795,799 **** public void setToRole(String role) throws SOAPException { /** Set the role only if role attribure is not null * */ ! if (role.equals(null) == false) { if (toRole == null) { --- 795,799 ---- public void setToRole(String role) throws SOAPException { /** Set the role only if role attribure is not null * */ ! if (role != null) { if (toRole == null) { *************** *** 1199,1203 **** /** Set time only if attribute time is not null **/ ! if (time.equals(null) == false) { if (timeToLive == null) { --- 1199,1203 ---- /** Set time only if attribute time is not null **/ ! if (time != null) { if (timeToLive == null) { |