Remove unnecessary returns
This commit is contained in:
		
							parent
							
								
									2ee5226d62
								
							
						
					
					
						commit
						744d46161e
					
				| @ -609,7 +609,6 @@ public class AppDetails extends ListActivity { | |||||||
|                         @Override |                         @Override | ||||||
|                         public void onClick(DialogInterface dialog, |                         public void onClick(DialogInterface dialog, | ||||||
|                                 int whichButton) { |                                 int whichButton) { | ||||||
|                             return; |  | ||||||
|                         } |                         } | ||||||
|                     }); |                     }); | ||||||
|             AlertDialog alert = ask_alrt.create(); |             AlertDialog alert = ask_alrt.create(); | ||||||
| @ -822,7 +821,6 @@ public class AppDetails extends ListActivity { | |||||||
|                         @Override |                         @Override | ||||||
|                         public void onClick(DialogInterface dialog, |                         public void onClick(DialogInterface dialog, | ||||||
|                                 int whichButton) { |                                 int whichButton) { | ||||||
|                             return; |  | ||||||
|                         } |                         } | ||||||
|                     }); |                     }); | ||||||
|             AlertDialog alert = ask_alrt.create(); |             AlertDialog alert = ask_alrt.create(); | ||||||
|  | |||||||
| @ -1145,7 +1145,6 @@ public class DB { | |||||||
|         Log.d("FDroid", "AppUpdate: " + updateApps.size() |         Log.d("FDroid", "AppUpdate: " + updateApps.size() | ||||||
|                 + " apps on completion."); |                 + " apps on completion."); | ||||||
|         updateApps = null; |         updateApps = null; | ||||||
|         return; |  | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     // Called instead of endUpdate if the update failed. |     // Called instead of endUpdate if the update failed. | ||||||
|  | |||||||
| @ -251,7 +251,6 @@ public class FDroid extends FragmentActivity { | |||||||
|                             @Override |                             @Override | ||||||
|                             public void onClick(DialogInterface dialog, |                             public void onClick(DialogInterface dialog, | ||||||
|                                     int whichButton) { |                                     int whichButton) { | ||||||
|                                 return; |  | ||||||
|                             } |                             } | ||||||
|                         }); |                         }); | ||||||
|                 AlertDialog alert = ask_alrt.create(); |                 AlertDialog alert = ask_alrt.create(); | ||||||
|  | |||||||
| @ -290,7 +290,6 @@ public class ManageRepo extends ListActivity { | |||||||
|                     public void onClick(DialogInterface dialog, int which) { |                     public void onClick(DialogInterface dialog, int which) { | ||||||
|                         setResult(Activity.RESULT_CANCELED); |                         setResult(Activity.RESULT_CANCELED); | ||||||
|                         finish(); |                         finish(); | ||||||
|                         return; |  | ||||||
|                     } |                     } | ||||||
|                 }); |                 }); | ||||||
|         alrt.show(); |         alrt.show(); | ||||||
| @ -410,7 +409,6 @@ public class ManageRepo extends ListActivity { | |||||||
|                         @Override |                         @Override | ||||||
|                         public void onClick(DialogInterface dialog, |                         public void onClick(DialogInterface dialog, | ||||||
|                                 int whichButton) { |                                 int whichButton) { | ||||||
|                             return; |  | ||||||
|                         } |                         } | ||||||
|                     }); |                     }); | ||||||
|             AlertDialog alert = builder.create(); |             AlertDialog alert = builder.create(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel Martí
						Daniel Martí