Author: mrisaliti
Date: Mon Feb 28 21:10:37 2011
New Revision: 1075532
URL:
http://svn.apache.org/viewvc?rev=1075532&view=revLog:
Remove some warning in StandardEngine (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/StandardJavaEngine.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/StandardJavaEngine.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/StandardJavaEngine.java?rev=1075532&r1=1075531&r2=1075532&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/StandardJavaEngine.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/StandardJavaEngine.java Mon Feb 28 21:10:37 2011
@@ -56,7 +56,7 @@ public final class StandardJavaEngine ex
public Map<String, Object> runSync(String localName, ModelService modelService, Map<String, Object> context) throws GenericServiceException {
Object result = serviceInvoker(localName, modelService, context);
- if (result == null || !(result instanceof Map)) {
+ if (result == null || !(result instanceof Map<?, ?>)) {
throw new GenericServiceException("Service [" + modelService.name + "] did not return a Map object");
}
return UtilGenerics.checkMap(result);