From ac685a82e645953232d72ce075a8cf2b01ce2a16 Mon Sep 17 00:00:00 2001 From: ameba23 Date: Wed, 2 Mar 2022 16:50:39 +0100 Subject: [PATCH] Rm unused method --- .../briar/remotewipe/RemoteWipeManagerImpl.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/briar-core/src/main/java/org/briarproject/briar/remotewipe/RemoteWipeManagerImpl.java b/briar-core/src/main/java/org/briarproject/briar/remotewipe/RemoteWipeManagerImpl.java index f6eb11eba..c766dd9c2 100644 --- a/briar-core/src/main/java/org/briarproject/briar/remotewipe/RemoteWipeManagerImpl.java +++ b/briar-core/src/main/java/org/briarproject/briar/remotewipe/RemoteWipeManagerImpl.java @@ -605,23 +605,6 @@ public class RemoteWipeManagerImpl extends ConversationClientImpl db.removeGroup(txn, getContactGroup(c)); } - @Nullable - private Pair findMessage(Transaction txn, - GroupId g, org.briarproject.briar.api.remotewipe.MessageType type, - boolean local) - throws DbException, FormatException { - BdfDictionary query = BdfDictionary.of( - new BdfEntry(MSG_KEY_MESSAGE_TYPE, type.getValue()), - new BdfEntry(MSG_KEY_LOCAL, local)); - Map results = - clientHelper.getMessageMetadataAsDictionary(txn, g, query); -// if (results.size() > 1) throw new DbException(); - if (results.isEmpty()) return null; - Map.Entry e = - results.entrySet().iterator().next(); - return new Pair<>(e.getKey(), e.getValue()); - } - @Override public boolean remoteWipeIsSetup(Transaction txn) { try {