diff options
author | Michael <betheg@bitcloner.org> | 2014-10-26 18:54:10 +0100 |
---|---|---|
committer | Michael <betheg@bitcloner.org> | 2014-10-26 18:54:10 +0100 |
commit | 020dc863b17a1c9f9c6cb9ff5798d8fcc79a406e (patch) | |
tree | 3d549effe9d9076d461805b89618cec79bc6b62a /src/eu/siacs/conversations/ui/XmppActivity.java | |
parent | 284ad1b053786a83c6b05276bb72febfd292de58 (diff) |
remove some unused cast
Diffstat (limited to 'src/eu/siacs/conversations/ui/XmppActivity.java')
-rw-r--r-- | src/eu/siacs/conversations/ui/XmppActivity.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/eu/siacs/conversations/ui/XmppActivity.java b/src/eu/siacs/conversations/ui/XmppActivity.java index 02157e74..222f3295 100644 --- a/src/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/eu/siacs/conversations/ui/XmppActivity.java @@ -402,8 +402,7 @@ public abstract class XmppActivity extends Activity { private void quickEdit(final String previousValue, final OnValueEdited callback, boolean password) { AlertDialog.Builder builder = new AlertDialog.Builder(this); - View view = (View) getLayoutInflater() - .inflate(R.layout.quickedit, null); + View view = getLayoutInflater().inflate(R.layout.quickedit, null); final EditText editor = (EditText) view.findViewById(R.id.editor); OnClickListener mClickListener = new OnClickListener() { @@ -450,7 +449,7 @@ public abstract class XmppActivity extends Activity { listener.onPresenceSelected(); } } else if (presences.size() == 1) { - String presence = (String) presences.asStringArray()[0]; + String presence = presences.asStringArray()[0]; conversation.setNextPresence(presence); listener.onPresenceSelected(); } else { |