mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-16 01:02:06 +01:00
Fix wrong return type
This commit is contained in:
parent
f827bb08d3
commit
69db311a8b
1 changed files with 3 additions and 3 deletions
|
@ -30,13 +30,13 @@ import java.util.Set;
|
|||
import java.util.SortedSet;
|
||||
import java.util.TreeMap;
|
||||
import java.util.WeakHashMap;
|
||||
import java.util.concurrent.ScheduledFuture;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.jivesoftware.smack.AbstractConnectionListener;
|
||||
import org.jivesoftware.smack.Manager;
|
||||
import org.jivesoftware.smack.ScheduledAction;
|
||||
import org.jivesoftware.smack.SmackException;
|
||||
import org.jivesoftware.smack.StanzaListener;
|
||||
import org.jivesoftware.smack.XMPPConnection;
|
||||
|
@ -107,7 +107,7 @@ public final class OmemoManager extends Manager {
|
|||
|
||||
private OmemoTrustCallback trustCallback;
|
||||
|
||||
private ScheduledFuture<?> postponingPreKeyDeletion;
|
||||
private ScheduledAction postponingPreKeyDeletion;
|
||||
|
||||
private BareJid ownJid;
|
||||
private Integer deviceId;
|
||||
|
@ -290,7 +290,7 @@ public final class OmemoManager extends Manager {
|
|||
* @param millis period in milliseconds from now, in which preKeys are not deleted immediately.
|
||||
* @return scheduled future
|
||||
*/
|
||||
public ScheduledFuture<?> temporarilyPostponePreKeyDeletion(long millis) {
|
||||
private ScheduledAction temporarilyPostponePreKeyDeletion(long millis) {
|
||||
final OmemoStore<?,?,?,?,?,?,?,?,?> store = getOmemoService().getOmemoStoreBackend();
|
||||
final OmemoDevice userDevice = getOwnDevice();
|
||||
|
||||
|
|
Loading…
Reference in a new issue