aboutsummaryrefslogtreecommitdiffstats
path: root/cgeo-contacts/src
diff options
context:
space:
mode:
authorMichael Keppler <michael.keppler@gmx.de>2014-04-22 11:05:34 +0200
committerMichael Keppler <michael.keppler@gmx.de>2014-04-22 11:05:34 +0200
commit7f4478f4d4d18df3260d24ab95fce818c7bc1bfd (patch)
tree1ba15b619ee6c0dd1af851f4a22c0e0409506825 /cgeo-contacts/src
parent0e1262604f3a06469724b334a6f6268414e91fb8 (diff)
downloadcgeo-7f4478f4d4d18df3260d24ab95fce818c7bc1bfd.zip
cgeo-7f4478f4d4d18df3260d24ab95fce818c7bc1bfd.tar.gz
cgeo-7f4478f4d4d18df3260d24ab95fce818c7bc1bfd.tar.bz2
upgrade commons.lang library in contacts plugin
Diffstat (limited to 'cgeo-contacts/src')
-rw-r--r--cgeo-contacts/src/cgeo/contacts/ContactsActivity.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/cgeo-contacts/src/cgeo/contacts/ContactsActivity.java b/cgeo-contacts/src/cgeo/contacts/ContactsActivity.java
index f1db7cf..c9f7656 100644
--- a/cgeo-contacts/src/cgeo/contacts/ContactsActivity.java
+++ b/cgeo-contacts/src/cgeo/contacts/ContactsActivity.java
@@ -3,6 +3,7 @@ package cgeo.contacts;
import org.apache.commons.lang3.CharEncoding;
import org.apache.commons.lang3.StringUtils;
import org.eclipse.jdt.annotation.NonNull;
+
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
@@ -17,6 +18,7 @@ import android.util.Log;
import android.util.Pair;
import android.view.Gravity;
import android.widget.Toast;
+
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.ArrayList;
@@ -132,13 +134,13 @@ public final class ContactsActivity extends Activity {
try {
final String param = uri.getQueryParameter(paramKey);
if (param == null) {
- return "";
+ return StringUtils.EMPTY;
}
return URLDecoder.decode(param, CharEncoding.UTF_8).trim();
} catch (UnsupportedEncodingException e) {
Log.e(LOG_TAG, "ContactsActivity.getParameter", e);
}
- return "";
+ return StringUtils.EMPTY;
}
} \ No newline at end of file