Remove unused method.

This commit is contained in:
akwizgran
2019-05-01 10:21:11 +01:00
parent 2cce0f5fe2
commit 5553b7d0e4
2 changed files with 0 additions and 14 deletions

View File

@@ -10,12 +10,6 @@ import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
@NotNullByDefault @NotNullByDefault
public interface IdentityManager { public interface IdentityManager {
/**
* Creates a local identity with the given name.
*/
@CryptoExecutor
LocalAuthor createLocalAuthor(String name);
/** /**
* Creates an account with the given name. The account includes a handshake * Creates an account with the given name. The account includes a handshake
* key pair. * key pair.

View File

@@ -68,14 +68,6 @@ class IdentityManagerImpl implements IdentityManager, OpenDatabaseHook {
this.clock = clock; this.clock = clock;
} }
@Override
public LocalAuthor createLocalAuthor(String name) {
long start = now();
LocalAuthor localAuthor = authorFactory.createLocalAuthor(name);
logDuration(LOG, "Creating local author", start);
return localAuthor;
}
@Override @Override
public Account createAccount(String name) { public Account createAccount(String name) {
long start = now(); long start = now();