mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 22:59:54 +01:00
Removed unused return value.
This commit is contained in:
@@ -156,14 +156,13 @@ implements StreamTransportPlugin {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
private StreamTransportConnection connect(ContactId c) {
|
private void connect(ContactId c) {
|
||||||
StreamTransportConnection conn = createAndConnectSocket(c);
|
StreamTransportConnection conn = createAndConnectSocket(c);
|
||||||
if(conn != null) {
|
if(conn != null) {
|
||||||
synchronized(this) {
|
synchronized(this) {
|
||||||
if(started) callback.outgoingConnectionCreated(c, conn);
|
if(started) callback.outgoingConnectionCreated(c, conn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return conn;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private StreamTransportConnection createAndConnectSocket(ContactId c) {
|
private StreamTransportConnection createAndConnectSocket(ContactId c) {
|
||||||
|
|||||||
Reference in New Issue
Block a user