axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damr...@apache.org
Subject svn commit: r637964 - /webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java
Date Mon, 17 Mar 2008 16:41:39 GMT
Author: damrhei
Date: Mon Mar 17 09:41:22 2008
New Revision: 637964

URL: http://svn.apache.org/viewvc?rev=637964&view=rev
Log:
Changes made in 637889 were made inside an 'isDebugEnabled' block :)

Modified:
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java

Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java?rev=637964&r1=637963&r2=637964&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java
(original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java
Mon Mar 17 09:41:22 2008
@@ -285,20 +285,19 @@
             	url = new URL(baseURL.getProtocol(), baseURL.getHost(), resolvedURI.toString());
             }
             else{
-            	if(log.isDebugEnabled()){
-            		if(baseURL !=null){
-            		    
-            		        // even though this is unknown, since there is a protocol, let's
-            		        // try to build the URL
-            			log.debug("unknown protocol in url "+ baseURL.getProtocol());
-            			if(log.isDebugEnabled()){
-            	                    log.debug("Constructing path with unknown protocol");
-            	                }
-            	                url = new URL(baseURL.getProtocol(), baseURL.getHost(), resolvedURI.toString());
-            		}else{
-            			log.debug("baseURL is NULL");
-            		}
-            	}
+                if(baseURL != null) {
+                    
+                    // try constructing it with unknown protocol
+                    if(log.isDebugEnabled()){
+                        log.debug("Constructing path with unknown protocol: " + baseURL.getProtocol());
+                    }
+                    url = new URL(baseURL.getProtocol(), baseURL.getHost(), resolvedURI.toString());
+                }
+                else {
+                    if(log.isDebugEnabled()) {
+                        log.debug("baseURL is NULL");
+                    }
+                }
             }
                         
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message