fixed constructor of navigator removed provides-annotation for navigator

no need to use @provides for navigator since Dagger 2 can construct it by @inject-annotated constructor
This commit is contained in:
vtuan10
2015-12-23 17:52:07 +01:00
committed by VanTuanVo
parent a5bf4492be
commit f37b57014a
2 changed files with 1 additions and 5 deletions

View File

@ -45,10 +45,6 @@ public class ApplicationModule {
return this.application;
}
@Provides @Singleton Navigator provideNavigator() {
return new Navigator();
}
@Provides @Singleton ThreadExecutor provideThreadExecutor(JobExecutor jobExecutor) {
return jobExecutor;
}

View File

@ -29,7 +29,7 @@ import javax.inject.Singleton;
public class Navigator {
@Inject
public void Navigator() {
public Navigator() {
//empty
}