소스 검색

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
1개의 변경된 파일0개의 추가작업 그리고 24개의 파일을 삭제
  1. 0 24
      app/src/main/java/com/nextcloud/talk/adapters/ParticipantDisplayItem.java

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