Commit d51280e7 authored by Lucio Maciel's avatar Lucio Maciel

Rename provide methods to reflect the Interface type

parent 40c54095
...@@ -20,7 +20,7 @@ class AuthenticationModule { ...@@ -20,7 +20,7 @@ class AuthenticationModule {
@Provides @Provides
@PerActivity @PerActivity
fun provideSharedPreferencesMultiServerTokenRepository(repository: LocalRepository, moshi: Moshi): MultiServerTokenRepository { fun provideMultiServerTokenRepository(repository: LocalRepository, moshi: Moshi): MultiServerTokenRepository {
return SharedPreferencesMultiServerTokenRepository(repository, moshi) return SharedPreferencesMultiServerTokenRepository(repository, moshi)
} }
} }
\ No newline at end of file
...@@ -91,7 +91,7 @@ class AppModule { ...@@ -91,7 +91,7 @@ class AppModule {
@Provides @Provides
@Singleton @Singleton
fun provideAuthTokenRepository(): TokenRepository { fun provideTokenRepository(): TokenRepository {
return MemoryTokenRepository() return MemoryTokenRepository()
} }
...@@ -108,7 +108,7 @@ class AppModule { ...@@ -108,7 +108,7 @@ class AppModule {
@Provides @Provides
@Singleton @Singleton
fun provideSharedPreferencesRepository(prefs: SharedPreferences): LocalRepository { fun provideLocalRepository(prefs: SharedPreferences): LocalRepository {
return SharedPrefsLocalRepository(prefs) return SharedPrefsLocalRepository(prefs)
} }
......
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