5
0
mirror of https://github.com/cwinfo/envayasms.git synced 2024-10-18 08:50:43 +00:00

remove code added for debugging

This commit is contained in:
Jesse Young 2012-04-04 15:23:14 -07:00
parent 9d65fc1d3a
commit 69a05acd8f

View File

@ -129,8 +129,6 @@ public class JsonUtils {
} }
} }
static App app;
// like JSONObject.optString but doesn't convert null to "null" // like JSONObject.optString but doesn't convert null to "null"
private static String optString(JSONObject json, String key, String defaultValue) private static String optString(JSONObject json, String key, String defaultValue)
{ {
@ -158,7 +156,7 @@ public class JsonUtils {
{ {
List<OutgoingMessage> messages = new ArrayList<OutgoingMessage>(); List<OutgoingMessage> messages = new ArrayList<OutgoingMessage>();
JSONArray messagesList = json.optJSONArray("messages"); JSONArray messagesList = json.optJSONArray("messages");
JsonUtils.app = app;
if (messagesList != null) if (messagesList != null)
{ {
int numMessages = messagesList.length(); int numMessages = messagesList.length();