code clean up

(cherry picked from commit 5b48b4027e)
This commit is contained in:
Daniel Gultsch 2021-01-15 10:45:03 +01:00 committed by Christian Schneppe
parent 6194293bba
commit 183a3a7ced
2 changed files with 3 additions and 4 deletions

View file

@ -18,13 +18,12 @@ import eu.siacs.conversations.R;
import eu.siacs.conversations.services.AvatarService;
import eu.siacs.conversations.services.MessageArchiveService;
import eu.siacs.conversations.utils.JidHelper;
import eu.siacs.conversations.utils.Namespace;
import eu.siacs.conversations.utils.UIHelper;
import eu.siacs.conversations.xmpp.Jid;
import eu.siacs.conversations.xmpp.chatstate.ChatState;
import eu.siacs.conversations.xmpp.forms.Data;
import eu.siacs.conversations.xmpp.forms.Field;
import eu.siacs.conversations.xmpp.pep.Avatar;
import eu.siacs.conversations.xmpp.Jid;
@SuppressLint("DefaultLocale")
public class MucOptions {
@ -41,7 +40,7 @@ public class MucOptions {
private final Conversation conversation;
public OnRenameListener onRenameListener = null;
private boolean mAutoPushConfiguration = true;
private Account account;
private final Account account;
private ServiceDiscoveryResult serviceDiscoveryResult;
private boolean isOnline = false;
private Error error = Error.NONE;

View file

@ -113,7 +113,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
private final XmppActivity activity;
private final AudioPlayer audioPlayer;
private List<String> highlightedTerm = null;
private DisplayMetrics metrics;
private final DisplayMetrics metrics;
private OnContactPictureClicked mOnContactPictureClickedListener;
private OnContactPictureLongClicked mOnContactPictureLongClickedListener;
private boolean mIndicateReceived = false;