mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
minor clean
This commit is contained in:
parent
c7af1cabe3
commit
058edbdfba
@ -86,7 +86,7 @@ public class KeyHelper {
|
|||||||
start--;
|
start--;
|
||||||
|
|
||||||
for (int i=0;i<count;i++) {
|
for (int i=0;i<count;i++) {
|
||||||
results.add(new PreKeyRecord(((start + i) % (Medium.MAX_VALUE-1)) + 1, Curve.generateKeyPair()));
|
results.add(new PreKeyRecord(((start + i) % (0xFFFFFF-1)) + 1, Curve.generateKeyPair()));
|
||||||
}
|
}
|
||||||
|
|
||||||
return results;
|
return results;
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright (C) 2014-2016 Open Whisper Systems
|
|
||||||
*
|
|
||||||
* Licensed according to the LICENSE file in this repository.
|
|
||||||
*/
|
|
||||||
package org.session.libsignal.libsignal.util;
|
|
||||||
|
|
||||||
public class Medium {
|
|
||||||
public static int MAX_VALUE = 0xFFFFFF;
|
|
||||||
}
|
|
@ -16,10 +16,6 @@
|
|||||||
|
|
||||||
package org.session.libsignal.libsignal.util.guava;
|
package org.session.libsignal.libsignal.util.guava;
|
||||||
|
|
||||||
import org.session.libsignal.libsignal.util.guava.Function;
|
|
||||||
import org.session.libsignal.libsignal.util.guava.Optional;
|
|
||||||
import org.session.libsignal.libsignal.util.guava.Supplier;
|
|
||||||
|
|
||||||
import static org.session.libsignal.libsignal.util.guava.Preconditions.checkNotNull;
|
import static org.session.libsignal.libsignal.util.guava.Preconditions.checkNotNull;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
Loading…
Reference in New Issue
Block a user