mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	Replace explicit type with diamond operator
This commit is contained in:
		
							parent
							
								
									126a823fb5
								
							
						
					
					
						commit
						d866ab3e07
					
				
					 16 changed files with 43 additions and 43 deletions
				
			
		|  | @ -45,7 +45,7 @@ public  class       ContributionsActivity | |||
|     private MediaDetailPagerFragment mediaDetails; | ||||
|     private UploadService uploadService; | ||||
|     private boolean isUploadServiceConnected; | ||||
|     private ArrayList<DataSetObserver> observersWaitingForLoad = new ArrayList<DataSetObserver>(); | ||||
|     private ArrayList<DataSetObserver> observersWaitingForLoad = new ArrayList<>(); | ||||
|     private String CONTRIBUTION_SELECTION = ""; | ||||
|     /* | ||||
|         This sorts in the following order: | ||||
|  |  | |||
|  | @ -92,7 +92,7 @@ public class ContributionsSyncAdapter extends AbstractThreadedSyncAdapter { | |||
| 
 | ||||
|             ArrayList<ApiResult> uploads = result.getNodes("/api/query/logevents/item"); | ||||
|             Log.d("Commons", uploads.size() + " results!"); | ||||
|             ArrayList<ContentValues> imageValues = new ArrayList<ContentValues>(); | ||||
|             ArrayList<ContentValues> imageValues = new ArrayList<>(); | ||||
|             for(ApiResult image: uploads) { | ||||
|                 String filename = image.getString("@title"); | ||||
|                 if(fileExists(contentProviderClient, filename)) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 veyndan
						veyndan