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