Move adding new ThreadList items to ViewModel

This commit is contained in:
Torsten Grote
2021-01-07 16:57:12 -03:00
parent d393b79ced
commit 21e56284fb
13 changed files with 224 additions and 259 deletions

View File

@@ -33,11 +33,6 @@ public class MessageTreeImpl<T extends MessageTree.MessageNode>
private final Comparator<T> comparator = (o1, o2) ->
Long.valueOf(o1.getTimestamp()).compareTo(o2.getTimestamp());
public MessageTreeImpl(Collection<T> collection) {
super();
add(collection);
}
@Override
public synchronized void clear() {
roots.clear();