Removed references to the data-client Service interface (#5484)

This commit is contained in:
Paul Hawke 2024-01-27 17:25:56 -06:00 committed by GitHub
parent 8222c4a42c
commit 9e970123fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 38 additions and 61 deletions

View file

@ -166,20 +166,6 @@ public class NetworkingModule {
return GsonUtil.getDefaultGson();
}
@Provides
@Singleton
@Named("commons-service")
public Service provideCommonsService(@Named(NAMED_COMMONS_WIKI_SITE) WikiSite commonsWikiSite) {
return ServiceFactory.get(commonsWikiSite);
}
@Provides
@Singleton
@Named("wikidata-service")
public Service provideWikidataService(@Named(NAMED_WIKI_DATA_WIKI_SITE) WikiSite wikidataWikiSite) {
return ServiceFactory.get(wikidataWikiSite, BuildConfig.WIKIDATA_URL, Service.class);
}
@Provides
@Singleton
public ReviewInterface provideReviewInterface(@Named(NAMED_COMMONS_WIKI_SITE) WikiSite commonsWikiSite) {