mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 14:49:53 +01:00
Reduced visibilty of constructors.
This commit is contained in:
@@ -21,7 +21,7 @@ class ConnectionWriterFactoryImpl implements ConnectionWriterFactory {
|
|||||||
private final CryptoComponent crypto;
|
private final CryptoComponent crypto;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
public ConnectionWriterFactoryImpl(CryptoComponent crypto) {
|
ConnectionWriterFactoryImpl(CryptoComponent crypto) {
|
||||||
this.crypto = crypto;
|
this.crypto = crypto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ class KeyManagerImpl extends TimerTask implements KeyManager, DatabaseListener {
|
|||||||
private final Map<ContactTransportKey, TemporarySecret> incomingNew;
|
private final Map<ContactTransportKey, TemporarySecret> incomingNew;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
public KeyManagerImpl(CryptoComponent crypto, DatabaseComponent db,
|
KeyManagerImpl(CryptoComponent crypto, DatabaseComponent db,
|
||||||
ConnectionRecogniser recogniser, Timer timer) {
|
ConnectionRecogniser recogniser, Timer timer) {
|
||||||
this.crypto = crypto;
|
this.crypto = crypto;
|
||||||
this.db = db;
|
this.db = db;
|
||||||
|
|||||||
Reference in New Issue
Block a user