ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mrisal...@apache.org
Subject svn commit: r1068556 - in /ofbiz/trunk/framework: common/src/org/ofbiz/common/CommonServices.java service/src/org/ofbiz/service/test/ServiceSOAPTests.java
Date Tue, 08 Feb 2011 20:29:31 GMT
Author: mrisaliti
Date: Tue Feb  8 20:29:31 2011
New Revision: 1068556

URL: http://svn.apache.org/viewvc?rev=1068556&view=rev
Log:
Remove an unused variable related to soap tests (OFBIZ-4102)

Modified:
    ofbiz/trunk/framework/common/src/org/ofbiz/common/CommonServices.java
    ofbiz/trunk/framework/service/src/org/ofbiz/service/test/ServiceSOAPTests.java

Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/CommonServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/CommonServices.java?rev=1068556&r1=1068555&r2=1068556&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/CommonServices.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/CommonServices.java Tue Feb  8 20:29:31
2011
@@ -110,7 +110,6 @@ public class CommonServices {
         Delegator delegator = dctx.getDelegator();
         Map<String, Object> response = ServiceUtil.returnSuccess();
 
-        GenericValue testing = (GenericValue) context.get("testing");
         List<GenericValue> testingNodes = FastList.newInstance();
         for (int i = 0; i < 3; i ++) {
             GenericValue testingNode = delegator.makeValue("TestingNode");

Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/test/ServiceSOAPTests.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/test/ServiceSOAPTests.java?rev=1068556&r1=1068555&r2=1068556&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/test/ServiceSOAPTests.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/test/ServiceSOAPTests.java Tue Feb
 8 20:29:31 2011
@@ -41,8 +41,7 @@ public class ServiceSOAPTests extends OF
         Map<String, Object> serviceContext = FastMap.newInstance();
         serviceContext.put("defaultValue", new Double("123.4567"));
         serviceContext.put("message", "Test Message !!!");
-        Map<String, Object> results = dispatcher.runSync("testSoapSimple", serviceContext);
-        String resp = (String) results.get("resp");
+        dispatcher.runSync("testSoapSimple", serviceContext);
     }
 
     public void testSOAPService() throws Exception {



Mime
View raw message