Переглянути джерело

Remove unused getters and setters

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 <danxuliu@gmail.com>
Daniel Calviño Sánchez 2 роки тому
батько
коміт
e887fde2a3

+ 0 - 24
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;
     }