1
0
Fork 0
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:
Paul Schaub 2019-03-16 16:13:24 +01:00
parent f827bb08d3
commit 69db311a8b
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -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();