mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Remove unused methods from LegacyJsonThreadStore
This commit is contained in:
parent
5df8f32820
commit
d50dc69f08
1 changed files with 0 additions and 8 deletions
|
@ -27,14 +27,6 @@ public class LegacyJsonThreadStore {
|
||||||
@JsonDeserialize(using = ThreadsDeserializer.class)
|
@JsonDeserialize(using = ThreadsDeserializer.class)
|
||||||
private Map<String, ThreadInfo> threads = new HashMap<>();
|
private Map<String, ThreadInfo> threads = new HashMap<>();
|
||||||
|
|
||||||
public void updateThread(ThreadInfo thread) {
|
|
||||||
threads.put(thread.id, thread);
|
|
||||||
}
|
|
||||||
|
|
||||||
public ThreadInfo getThread(String id) {
|
|
||||||
return threads.get(id);
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<ThreadInfo> getThreads() {
|
public List<ThreadInfo> getThreads() {
|
||||||
return new ArrayList<>(threads.values());
|
return new ArrayList<>(threads.values());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue