De-uglified some code and moved two API classes.

This commit is contained in:
akwizgran
2011-10-14 21:49:58 +01:00
parent cb06ebc5d2
commit 0ef1fcb686
12 changed files with 72 additions and 77 deletions

View File

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