Author: mrisaliti
Date: Tue Feb 8 20:29:31 2011
New Revision: 1068556
URL:
http://svn.apache.org/viewvc?rev=1068556&view=revLog:
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 {