Commit 0825e77d authored by akwizgran's avatar akwizgran

Static import.

parent 593a709a
Pipeline #3291 passed with stage
in 6 minutes and 45 seconds
......@@ -4,7 +4,6 @@ import org.briarproject.bramble.api.FormatException;
import org.briarproject.bramble.api.UnsupportedVersionException;
import org.briarproject.bramble.api.crypto.CryptoComponent;
import org.briarproject.bramble.api.crypto.KeyParser;
import org.briarproject.bramble.api.crypto.PublicKey;
......@@ -21,6 +20,7 @@ import static
import static;
import static;
import static;
import static;
class PendingContactFactoryImpl implements PendingContactFactory {
......@@ -40,7 +40,7 @@ class PendingContactFactoryImpl implements PendingContactFactory {
PendingContactId id = getPendingContactId(publicKey);
long timestamp = clock.currentTimeMillis();
return new PendingContact(id, publicKey.getEncoded(), alias,
PendingContactState.WAITING_FOR_CONNECTION, timestamp);
private PublicKey parseHandshakeLink(String link) throws FormatException {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment