OK, so I can't do a simple commit without botching it - left some comment where it did not need to be.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735234 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -51,7 +51,7 @@ public abstract class AbstractJSONEventHandler implements EventHandler{
|
||||
Map<String, Object> attrMap = getAttributesAsMap(request);
|
||||
|
||||
// create a JSON Object for return
|
||||
JSONObject json = JSONObject.fromObject(attrMap); //amb, test case
|
||||
JSONObject json = JSONObject.fromObject(attrMap);
|
||||
String jsonStr = json.toString();
|
||||
if (jsonStr == null) {
|
||||
throw new EventHandlerException("JSON Object was empty; fatal error!");
|
||||
|
||||
Reference in New Issue
Block a user