axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava Emitter.java
Date Thu, 24 Jan 2002 20:14:59 GMT
tomj        02/01/24 12:14:59

  Modified:    java/src/org/apache/axis/wsdl/toJava Emitter.java
  Log:
  Use File.seperatorChar instead of a hardcoded '/' to get path context.
  
  Revision  Changes    Path
  1.9       +1 -1      xml-axis/java/src/org/apache/axis/wsdl/toJava/Emitter.java
  
  Index: Emitter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/toJava/Emitter.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Emitter.java	23 Jan 2002 15:45:06 -0000	1.8
  +++ Emitter.java	24 Jan 2002 20:14:59 -0000	1.9
  @@ -133,7 +133,7 @@
               System.out.println(JavaUtils.getMessage("parsing00", uri));
   
           // calculate baseURI so that imported relative URI's work
  -        int lastSlash = uri.lastIndexOf('/');
  +        int lastSlash = uri.lastIndexOf(File.separatorChar);
           String baseURI = null;
           if (lastSlash > 0) {
               baseURI = uri.substring(0, lastSlash + 1);
  
  
  

Mime
View raw message