summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2015-12-08 11:04:46 +0000
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-07-01 15:05:24 -0700
commite063271c68b407f619a27b751f171e238e6ab92e (patch)
treea25fdb84c2349b19565beff7b8c91fa8bf5d2eba
parentba969cedeabddf0cdcf3e5de28cc1070cee72e15 (diff)
downloadpackages_apps_Messaging-e063271c68b407f619a27b751f171e238e6ab92e.tar.gz
packages_apps_Messaging-e063271c68b407f619a27b751f171e238e6ab92e.tar.bz2
packages_apps_Messaging-e063271c68b407f619a27b751f171e238e6ab92e.zip
Remove identifier that causes warnings under OpenJDK 8 compiler
Bug: 24494019 Change-Id: Ifca3226d3de1c72cc24c6092e105b42b95408c18
-rw-r--r--src/android/support/v7/mms/pdu/EncodedStringValue.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android/support/v7/mms/pdu/EncodedStringValue.java b/src/android/support/v7/mms/pdu/EncodedStringValue.java
index d8fcacf..6a914ae 100644
--- a/src/android/support/v7/mms/pdu/EncodedStringValue.java
+++ b/src/android/support/v7/mms/pdu/EncodedStringValue.java
@@ -145,7 +145,7 @@ public class EncodedStringValue implements Cloneable {
}
try {
return new String(mData, CharacterSets.MIMENAME_ISO_8859_1);
- } catch (UnsupportedEncodingException _) {
+ } catch (UnsupportedEncodingException e2) {
return new String(mData); // system default encoding.
}
}
@@ -216,7 +216,7 @@ public class EncodedStringValue implements Cloneable {
try {
ret[i] = new EncodedStringValue(mCharacterSet,
temp[i].getBytes());
- } catch (NullPointerException _) {
+ } catch (NullPointerException e) {
// Can't arrive here
return null;
}