Skip to content
Snippets Groups Projects
Commit 44bb9134 authored by akwizgran's avatar akwizgran
Browse files

Reversing unintentionally pushed change: don't share Timer instances.

parent 569b5962
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ public class AndroidSystemModule extends AbstractModule {
protected void configure() {
bind(Clock.class).to(SystemClock.class);
bind(Timer.class).toInstance(new SystemTimer());
bind(Timer.class).to(SystemTimer.class);
bind(SeedProvider.class).to(AndroidSeedProvider.class);
bind(FileUtils.class).to(AndroidFileUtils.class);
}
......
......@@ -15,7 +15,7 @@ public class DesktopSystemModule extends AbstractModule {
protected void configure() {
bind(Clock.class).to(SystemClock.class);
bind(Timer.class).toInstance(new SystemTimer());
bind(Timer.class).to(SystemTimer.class);
if(OsUtils.isLinux())
bind(SeedProvider.class).to(LinuxSeedProvider.class);
bind(FileUtils.class).toInstance(new FileUtils() {
......
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