You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ow...@apache.org on 2002/07/04 13:26:19 UTC

cvs commit: xml-axis-wsif/java/test/wsdl ClassLoaderTest.java

owenb       2002/07/04 04:26:19

  Modified:    java/test/wsdl ClassLoaderTest.java
  Log:
  Fixed doItWithReader test so that it refers to the correct wsdl location
  
  Revision  Changes    Path
  1.3       +2 -2      xml-axis-wsif/java/test/wsdl/ClassLoaderTest.java
  
  Index: ClassLoaderTest.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/test/wsdl/ClassLoaderTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ClassLoaderTest.java	26 Jun 2002 14:08:52 -0000	1.2
  +++ ClassLoaderTest.java	4 Jul 2002 11:26:19 -0000	1.3
  @@ -169,9 +169,9 @@
           try {
               URL url = null;
               if (wsdlLoc.indexOf(":") == -1)
  -                url = new URL("file", null, wsdlLocation);
  +                url = new URL("file", null, wsdlLoc);
               else
  -                url = new URL(wsdlLocation);
  +                url = new URL(wsdlLoc);
               String wsdlRelativeLocation = url.getPath();
               if (wsdlRelativeLocation.startsWith("/"))
                   wsdlRelativeLocation = wsdlRelativeLocation.substring(1);