ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info Type.java
Date Thu, 19 Aug 2004 09:37:10 GMT
damitha     2004/08/19 02:37:10

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info Type.java
  Log:
  replaced '>' symbol with ANNON_SYMBOL
  
  Revision  Changes    Path
  1.19      +4 -4      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/Type.java
  
  Index: Type.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/Type.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- Type.java	13 Aug 2004 12:28:08 -0000	1.18
  +++ Type.java	19 Aug 2004 09:37:10 -0000	1.19
  @@ -171,9 +171,9 @@
   	// Nithya:
   	// To resolve fault soap message issue
   	
  -	if (attribName.lastIndexOf('>') > 1 )
  +	if (attribName.lastIndexOf(SymbolTable.ANON_TOKEN) > 1 )
   	{
  -	    attribName =attribName.substring(attribName.lastIndexOf('>')+1,attribName.length());
  +	    attribName =attribName.substring(attribName.lastIndexOf(SymbolTable.ANON_TOKEN)+1,attribName.length());
           }        
           attribName = TypeMap.resoleveWSDL2LanguageNameClashes(attribName,this.language);
   
  @@ -217,9 +217,9 @@
   		//Nithya:
   		//to resolve fault soap message
   		
  -		if (attribName.lastIndexOf('>') > 1 )
  +		if (attribName.lastIndexOf(SymbolTable.ANON_TOKEN) > 1 )
   		{
  -		    attribName =attribName.substring(attribName.lastIndexOf('>')+1,attribName.length());
  +		    attribName =attribName.substring(attribName.lastIndexOf(SymbolTable.ANON_TOKEN)+1,attribName.length());
   		}		
   		// Samisa: This second call to TypeMap.resoleveWSDL2LanguageNameClashes
   		// is made to make sure after replacinf ANON_TOKEN it is still not a keyword
  
  
  

Mime
View raw message