mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Removed unused PrivateConversation class.
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
package org.briarproject.api.messaging;
|
||||
|
||||
import org.briarproject.api.sync.Group;
|
||||
import org.briarproject.api.sync.GroupId;
|
||||
|
||||
// TODO: Remove if no longer needed
|
||||
public class PrivateConversation {
|
||||
|
||||
private final Group group;
|
||||
|
||||
public PrivateConversation(Group group) {
|
||||
this.group = group;
|
||||
}
|
||||
|
||||
public GroupId getId() {
|
||||
return group.getId();
|
||||
}
|
||||
|
||||
public Group getGroup() {
|
||||
return group;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return group.hashCode();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
return o instanceof PrivateConversation
|
||||
&& group.equals(((PrivateConversation) o).group);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user