aboutsummaryrefslogtreecommitdiffstats
path: root/cgeo-contacts
diff options
context:
space:
mode:
Diffstat (limited to 'cgeo-contacts')
-rw-r--r--cgeo-contacts/libs/commons-lang3-3.1.jarbin315805 -> 0 bytes
-rw-r--r--cgeo-contacts/libs/commons-lang3-3.3.2.jarbin0 -> 412740 bytes
-rw-r--r--cgeo-contacts/src/cgeo/contacts/ContactsActivity.java6
3 files changed, 4 insertions, 2 deletions
diff --git a/cgeo-contacts/libs/commons-lang3-3.1.jar b/cgeo-contacts/libs/commons-lang3-3.1.jar
deleted file mode 100644
index a85e539..0000000
--- a/cgeo-contacts/libs/commons-lang3-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/cgeo-contacts/libs/commons-lang3-3.3.2.jar b/cgeo-contacts/libs/commons-lang3-3.3.2.jar
new file mode 100644
index 0000000..bb06979
--- /dev/null
+++ b/cgeo-contacts/libs/commons-lang3-3.3.2.jar
Binary files differ
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