mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
De-uglified some code and moved two API classes.
This commit is contained in:
@@ -20,7 +20,7 @@ import net.sf.briar.api.transport.BatchTransportWriter;
|
||||
import net.sf.briar.api.transport.ConnectionWriter;
|
||||
import net.sf.briar.api.transport.ConnectionWriterFactory;
|
||||
|
||||
class OutgoingBatchConnection implements Runnable {
|
||||
class OutgoingBatchConnection {
|
||||
|
||||
private static final Logger LOG =
|
||||
Logger.getLogger(OutgoingBatchConnection.class.getName());
|
||||
@@ -44,7 +44,7 @@ class OutgoingBatchConnection implements Runnable {
|
||||
this.writer = writer;
|
||||
}
|
||||
|
||||
public void run() {
|
||||
void write() {
|
||||
try {
|
||||
byte[] secret = db.getSharedSecret(contactId);
|
||||
long connection = db.getConnectionNumber(contactId, transportId);
|
||||
|
||||
Reference in New Issue
Block a user