mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Code cleanup: don't use L for long constants unless it's necessary.
This commit is contained in:
@@ -11,7 +11,7 @@ import net.sf.briar.api.FormatException;
|
||||
public class CountingConsumer implements Consumer {
|
||||
|
||||
private final long limit;
|
||||
private long count = 0L;
|
||||
private long count = 0;
|
||||
|
||||
public CountingConsumer(long limit) {
|
||||
this.limit = limit;
|
||||
|
||||
@@ -27,7 +27,7 @@ public class TemporarySecret extends Endpoint {
|
||||
long epoch, long clockDiff, long latency, boolean alice,
|
||||
long period, byte[] secret) {
|
||||
this(contactId, transportId, epoch, clockDiff, latency, alice, period,
|
||||
secret, 0L, 0L, new byte[CONNECTION_WINDOW_SIZE / 8]);
|
||||
secret, 0, 0, new byte[CONNECTION_WINDOW_SIZE / 8]);
|
||||
}
|
||||
|
||||
/** Creates a temporary secret derived from the given endpoint. */
|
||||
|
||||
Reference in New Issue
Block a user