bug 7059: Fixed the async output to use the object name

This commit is contained in:
will 2010-11-05 20:35:03 -07:00
parent 224da7e775
commit 563b45a220

View File

@ -53,7 +53,7 @@ public class ApiSerializerHelper {
Gson gson = ApiGsonHelper.getBuilder().create();
Object obj = gson.fromJson(content, clz);
if (nameField != null) {
((ResponseObject)obj).setResponseName(nameField);
((ResponseObject)obj).setObjectName(nameField);
}
return obj;
}