mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	Small code cleanup
This commit is contained in:
		
							parent
							
								
									f3075eb3a6
								
							
						
					
					
						commit
						1b840502a9
					
				
					 6 changed files with 6 additions and 0 deletions
				
			
		|  | @ -13,6 +13,7 @@ import fr.free.nrw.commons.upload.MultipleShareActivity; | |||
| import fr.free.nrw.commons.upload.ShareActivity; | ||||
| 
 | ||||
| @Module | ||||
| @SuppressWarnings({"WeakerAccess", "unused"}) | ||||
| public abstract class ActivityBuilderModule { | ||||
| 
 | ||||
|     @ContributesAndroidInjector | ||||
|  |  | |||
|  | @ -31,6 +31,7 @@ public interface CommonsApplicationComponent extends AndroidInjector<CommonsAppl | |||
|     void inject(MediaWikiImageView mediaWikiImageView); | ||||
| 
 | ||||
|     @Component.Builder | ||||
|     @SuppressWarnings({"WeakerAccess", "unused"}) | ||||
|     interface Builder { | ||||
|         Builder appModule(CommonsApplicationModule applicationModule); | ||||
| 
 | ||||
|  |  | |||
|  | @ -17,6 +17,7 @@ import fr.free.nrw.commons.mwapi.MediaWikiApi; | |||
| import fr.free.nrw.commons.nearby.NearbyPlaces; | ||||
| 
 | ||||
| @Module | ||||
| @SuppressWarnings({"WeakerAccess", "unused"}) | ||||
| public class CommonsApplicationModule { | ||||
|     private CommonsApplication application; | ||||
| 
 | ||||
|  |  | |||
|  | @ -7,6 +7,7 @@ import fr.free.nrw.commons.contributions.ContributionsContentProvider; | |||
| import fr.free.nrw.commons.modifications.ModificationsContentProvider; | ||||
| 
 | ||||
| @Module | ||||
| @SuppressWarnings({"WeakerAccess", "unused"}) | ||||
| public abstract class ContentProviderBuilderModule { | ||||
| 
 | ||||
|     @ContributesAndroidInjector | ||||
|  |  | |||
|  | @ -13,6 +13,7 @@ import fr.free.nrw.commons.upload.MultipleUploadListFragment; | |||
| import fr.free.nrw.commons.upload.SingleUploadFragment; | ||||
| 
 | ||||
| @Module | ||||
| @SuppressWarnings({"WeakerAccess", "unused"}) | ||||
| public abstract class FragmentBuilderModule { | ||||
| 
 | ||||
|     @ContributesAndroidInjector | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ import fr.free.nrw.commons.auth.WikiAccountAuthenticatorService; | |||
| import fr.free.nrw.commons.upload.UploadService; | ||||
| 
 | ||||
| @Module | ||||
| @SuppressWarnings({"WeakerAccess", "unused"}) | ||||
| public abstract class ServiceBuilderModule { | ||||
| 
 | ||||
|     @ContributesAndroidInjector | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Paul Hawke
						Paul Hawke