Commits

Anonymous committed f1776bd

Fixes after Eclipse tools inspection.

  • Participants
  • Parent commits d9d912c

Comments (0)

Files changed (2)

File soap-dtc-core/src/main/java/com/izforge/soapdtc/transport/HttpSoapTransport.java

     {
         if (soapAction != null)
         {
-            if (!(soapAction.startsWith("\"") && soapAction.endsWith("\"")))
+            String action = soapAction;
+        	if (!(soapAction.startsWith("\"") && soapAction.endsWith("\"")))
             {
-                soapAction = "\"" + soapAction + "\"";
+                action = "\"" + soapAction + "\"";
             }
-            method.setRequestHeader("SOAPAction", soapAction);
+            method.setRequestHeader("SOAPAction", action);
         }
     }
 

File soap-dtc-server/src/test/java/com/izforge/soapdtc/servlet/HttpSoapServiceServletTest.java

 
             public String getInitParameter(String string)
             {
-                if (string.equals(HttpSoapServiceServlet.BSF_SETUP_RESOURCE_INIT_PARAM))
+                if (HttpSoapServiceServlet.BSF_SETUP_RESOURCE_INIT_PARAM.equals(string))
                 {
                     return "bsf-setup.properties";
                 }