axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From susan...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal ParmHeaderFileWriter.java
Date Tue, 16 Mar 2004 14:17:02 GMT
susantha    2004/03/16 06:17:02

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        ParmHeaderFileWriter.java
  Log:
  minor fix to correct the compilation problem for int enumerations
  
  Revision  Changes    Path
  1.5       +2 -2      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/ParmHeaderFileWriter.java
  
  Index: ParmHeaderFileWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/ParmHeaderFileWriter.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ParmHeaderFileWriter.java	16 Mar 2004 08:26:28 -0000	1.4
  +++ ParmHeaderFileWriter.java	16 Mar 2004 14:17:02 -0000	1.5
  @@ -137,11 +137,11 @@
   					for(int i=1; i<restrictionData.size();i++){
   						QName value = (QName)restrictionData.elementAt(i);
   						if ("enumeration".equals(value.getLocalPart())){
  -							if (i>2) writer.write(", ");
  +							if (i>1) writer.write(", ");
   							writer.write(value.getNamespaceURI());		
   						}
   					}
  -					writer.write("};\n");
  +					writer.write("} "+classname+";\n");
   				}
   			}
   			else{
  
  
  

Mime
View raw message