aboutsummaryrefslogtreecommitdiffstats
path: root/cgeo-contacts
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
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')
-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