[savara-commits] savara SVN: r441 - branches/1.1.x/validators/jboss/wsnative/src/main/java/org/jboss/savara/validator/jbosswsnative.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Oct 19 04:32:02 EDT 2010


Author: objectiser
Date: 2010-10-19 04:32:01 -0400 (Tue, 19 Oct 2010)
New Revision: 441

Modified:
   branches/1.1.x/validators/jboss/wsnative/src/main/java/org/jboss/savara/validator/jbosswsnative/AbstractJBossWSNativeInterceptor.java
Log:
Move code out of debug protected block.

Modified: branches/1.1.x/validators/jboss/wsnative/src/main/java/org/jboss/savara/validator/jbosswsnative/AbstractJBossWSNativeInterceptor.java
===================================================================
--- branches/1.1.x/validators/jboss/wsnative/src/main/java/org/jboss/savara/validator/jbosswsnative/AbstractJBossWSNativeInterceptor.java	2010-10-18 07:58:34 UTC (rev 440)
+++ branches/1.1.x/validators/jboss/wsnative/src/main/java/org/jboss/savara/validator/jbosswsnative/AbstractJBossWSNativeInterceptor.java	2010-10-19 08:32:01 UTC (rev 441)
@@ -172,15 +172,15 @@
         
 		if (logger.isDebugEnabled()) {
 			logger.debug("Service for endpoint = "+service);
+		}
+		
+		if (service == null && soapCtx instanceof SOAPMessageContextJAXWS) {
+			SOAPMessageContextJAXWS smc=(SOAPMessageContextJAXWS)soapCtx;
 			
-			if (service == null && soapCtx instanceof SOAPMessageContextJAXWS) {
-				SOAPMessageContextJAXWS smc=(SOAPMessageContextJAXWS)soapCtx;
-				
-				if (smc.getEndpointMetaData() != null &&
-								smc.getEndpointMetaData().getServiceMetaData() != null) {
-					service = smc.getEndpointMetaData().getServiceMetaData().getServiceName();
-				}			
-			}
+			if (smc.getEndpointMetaData() != null &&
+							smc.getEndpointMetaData().getServiceMetaData() != null) {
+				service = smc.getEndpointMetaData().getServiceMetaData().getServiceName();
+			}			
 		}
 
 		return(service == null ? null : new Endpoint(service.toString()));



More information about the savara-commits mailing list