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:
Alfred Maxwell Byers
2009-01-17 06:30:02 +00:00
parent 40a8915053
commit d72e39a4dd
@@ -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!");