From e887fde2a349e33bb5f7fc195ccbf001c6d07b46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Fri, 25 Nov 2022 13:12:42 +0100 Subject: [PATCH] Remove unused getters and setters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note that the session ID, user ID and the stream type attributes are still kept, as they can be useful to identify the instance when debugging. Signed-off-by: Daniel Calviño Sánchez --- .../talk/adapters/ParticipantDisplayItem.java | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/adapters/ParticipantDisplayItem.java b/app/src/main/java/com/nextcloud/talk/adapters/ParticipantDisplayItem.java index 63a0d3ef5..fa980ad5d 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/ParticipantDisplayItem.java +++ b/app/src/main/java/com/nextcloud/talk/adapters/ParticipantDisplayItem.java @@ -37,24 +37,12 @@ public class ParticipantDisplayItem { this.updateUrlForAvatar(); } - public String getUserId() { - return userId; - } - public void setUserId(String userId) { this.userId = userId; this.updateUrlForAvatar(); } - public String getSession() { - return session; - } - - public void setSession(String session) { - this.session = session; - } - public boolean isConnected() { return iceConnectionState == PeerConnection.IceConnectionState.CONNECTED || iceConnectionState == PeerConnection.IceConnectionState.COMPLETED; @@ -98,14 +86,6 @@ public class ParticipantDisplayItem { this.mediaStream = mediaStream; } - public String getStreamType() { - return streamType; - } - - public void setStreamType(String streamType) { - this.streamType = streamType; - } - public boolean isStreamEnabled() { return streamEnabled; } @@ -118,10 +98,6 @@ public class ParticipantDisplayItem { return rootEglBase; } - public void setRootEglBase(EglBase rootEglBase) { - this.rootEglBase = rootEglBase; - } - public boolean isAudioEnabled() { return isAudioEnabled; }