mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-25 06:25:40 +03:00
Declare attributes set just once in constructor as "final"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
e887fde2a3
commit
5fe9154c9a
1 changed files with 4 additions and 4 deletions
|
@ -9,17 +9,17 @@ import org.webrtc.MediaStream;
|
|||
import org.webrtc.PeerConnection;
|
||||
|
||||
public class ParticipantDisplayItem {
|
||||
private String baseUrl;
|
||||
private final String baseUrl;
|
||||
private String userId;
|
||||
private String session;
|
||||
private final String session;
|
||||
private PeerConnection.IceConnectionState iceConnectionState;
|
||||
private String nick;
|
||||
private final String defaultGuestNick;
|
||||
private String urlForAvatar;
|
||||
private MediaStream mediaStream;
|
||||
private String streamType;
|
||||
private final String streamType;
|
||||
private boolean streamEnabled;
|
||||
private EglBase rootEglBase;
|
||||
private final EglBase rootEglBase;
|
||||
private boolean isAudioEnabled;
|
||||
|
||||
public ParticipantDisplayItem(String baseUrl, String userId, String session, PeerConnection.IceConnectionState iceConnectionState, String nick, String defaultGuestNick, MediaStream mediaStream, String streamType, boolean streamEnabled, EglBase rootEglBase) {
|
||||
|
|
Loading…
Reference in a new issue