Code cleanup: don't use L for long constants unless it's necessary.

This commit is contained in:
akwizgran
2013-02-01 20:40:57 +00:00
parent a73d9d05f2
commit adff37481f
42 changed files with 182 additions and 182 deletions

View File

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

View File

@@ -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. */