From acffda1ab8f2acfaac2bf236f48c4c44abc80f27 Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Wed, 31 Oct 2012 18:03:09 -0700 Subject: [PATCH] formatting --- .../securesms/mms/MmsCommunication.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/org/thoughtcrime/securesms/mms/MmsCommunication.java b/src/org/thoughtcrime/securesms/mms/MmsCommunication.java index 2d62edec1f..870eda6fc4 100644 --- a/src/org/thoughtcrime/securesms/mms/MmsCommunication.java +++ b/src/org/thoughtcrime/securesms/mms/MmsCommunication.java @@ -59,19 +59,19 @@ public class MmsCommunication { throw new MmsException("No carrier MMS information available."); do { - String mmsc = cursor.getString(cursor.getColumnIndexOrThrow("mmsc")); - String proxy = cursor.getString(cursor.getColumnIndexOrThrow("mmsproxy")); - String port = cursor.getString(cursor.getColumnIndexOrThrow("mmsport")); + String mmsc = cursor.getString(cursor.getColumnIndexOrThrow("mmsc")); + String proxy = cursor.getString(cursor.getColumnIndexOrThrow("mmsproxy")); + String port = cursor.getString(cursor.getColumnIndexOrThrow("mmsport")); - if (mmsc != null && !mmsc.equals("")) - return new MmsConnectionParameters(mmsc, proxy, port); + if (mmsc != null && !mmsc.equals("")) + return new MmsConnectionParameters(mmsc, proxy, port); } while (cursor.moveToNext()); throw new MmsException("No carrier MMS information available."); } finally { if (cursor != null) - cursor.close(); + cursor.close(); } } @@ -155,7 +155,7 @@ public class MmsCommunication { public int getPort() { if (port == null || port.trim().length() == 0) - return 80; + return 80; return Integer.parseInt(port); }