cvs commit: ws-wsif/java/src/org/apache/wsif/wsdl WSIFWSDLLocatorImpl.java

[email protected]
Newsgroups gmane.comp.apache.webservices.wsif.devel
Message-ID <[email protected]>
owenb       2003/10/01 07:51:13

  Modified:    java/src/org/apache/wsif/wsdl WSIFWSDLLocatorImpl.java
  Log:
  Fix problem with nested imports. Patch submitted by David Seager
  
  Revision  Changes    Path
  1.20      +3 -2      ws-wsif/java/src/org/apache/wsif/wsdl/WSIFWSDLLocatorImpl.java
  
  Index: WSIFWSDLLocatorImpl.java
  ===================================================================
  RCS file: /home/cvs/ws-wsif/java/src/org/apache/wsif/wsdl/WSIFWSDLLocatorImpl.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- WSIFWSDLLocatorImpl.java	17 Apr 2003 14:21:16 -0000	1.19
  +++ WSIFWSDLLocatorImpl.java	1 Oct 2003 14:51:13 -0000	1.20
  @@ -259,8 +259,9 @@
                       // necessary to avoid a NullPointerException in WSDLReaderImpl
                       importBase = "unknownImportURI";
                   }
  -            }
  -            importBase = (url == null) ? relativeLocation : url.toString(); 
  +            } else {
  +                importBase = (url == null) ? relativeLocation : url.toString();
  +            } 
           } catch (Exception e) {
           	Trc.exception(e);
           	// If we have not tried using a non-ClassLoader route, try it now
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.