Skip to content
Snippets Groups Projects
Commit 2a92ed00 authored by akwizgran's avatar akwizgran
Browse files

Removed fake database password from Guice module.

parent b470afb4
No related branches found
No related tags found
No related merge requests found
package net.sf.briar.db;
import net.sf.briar.api.crypto.Password;
import net.sf.briar.api.db.DatabaseComponent;
import net.sf.briar.api.db.DatabasePassword;
import com.google.inject.AbstractModule;
import com.google.inject.Singleton;
......@@ -14,11 +12,5 @@ public class DatabaseModule extends AbstractModule {
bind(Database.class).to(H2Database.class);
bind(DatabaseComponent.class).to(DatabaseComponentImpl.class).in(
Singleton.class);
bind(Password.class).annotatedWith(DatabasePassword.class).toInstance(
new Password() {
public char[] getPassword() {
return "fixme fixme".toCharArray();
}
});
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment