Author: kstam
Date: Tue Jun 28 18:15:51 2011
New Revision: 1140771
URL: http://svn.apache.org/viewvc?rev=1140771&view=rev
Log:
SCOUT-116 in addition to that the uddi keys contains multiple ':' characters in
them, it is a better choice to use the '|' character as a separation character
Modified:
juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/infomodel/AssociationImpl.java
Modified:
juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/infomodel/AssociationImpl.java
URL:
http://svn.apache.org/viewvc/juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/infomodel/AssociationImpl.java?rev=1140771&r1=1140770&r2=1140771&view=diff
==============================================================================
---
juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/infomodel/AssociationImpl.java
(original)
+++
juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/infomodel/AssociationImpl.java
Tue Jun 28 18:15:51 2011
@@ -111,16 +111,16 @@ public class AssociationImpl extends Reg
try
{
id = source.getKey().getId();
- id += ":" + target.getKey().getId();
+ id += "|" + target.getKey().getId();
Key k = null;
if(type != null ) k = type.getKey();
- if(k == null || k.getId() == "" ) id +=":NULL";
+ if(k == null || k.getId() == "" ) id +="|NULL";
else
- id+=":"+k.getId();
- id += ":" + "Concept"; //UDDI: KeyedReference->Key Name
+ id+="|"+k.getId();
+ id += "|" + "Concept"; //UDDI: KeyedReference->Key Name
//String val = "NULL"; KS unused
- if(type!= null) id += ":" + type.getValue();
- else id +=":NULL";
+ if(type!= null) id += "|" + type.getValue();
+ else id +="|NULL";
}
catch (JAXRException e)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]