mirror of
				https://github.com/haveno-dex/haveno.git
				synced 2025-10-30 19:09:04 -04:00 
			
		
		
		
	Remove all but the last implementation of View#terminate
This commit is contained in:
		
							parent
							
								
									22443900a9
								
							
						
					
					
						commit
						97817aa724
					
				
					 4 changed files with 0 additions and 21 deletions
				
			
		|  | @ -92,12 +92,4 @@ public abstract class ActivatableView<M extends Activatable> extends View<M> imp | |||
|     protected void doDeactivate() { | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * In caching controllers the terminate calls the deactivate method. | ||||
|      */ | ||||
|     @Override | ||||
|     public void terminate() { | ||||
|         model.deactivate(); | ||||
|     } | ||||
| 
 | ||||
| } | ||||
|  |  | |||
|  | @ -71,12 +71,7 @@ public abstract class View<M> implements Initializable { | |||
|         } | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * Called automatically when view gets removed. Used for house keeping (removing listeners, | ||||
|      * stopping timers or animations,...). | ||||
|      */ | ||||
|     public void terminate() { | ||||
|         log.trace("Lifecycle: terminate " + this.getClass().getSimpleName()); | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|  |  | |||
|  | @ -116,13 +116,6 @@ public class AccountView extends ActivatableView { | |||
|         ((TabPane) root).getSelectionModel().selectedItemProperty().removeListener(tabChangeListener); | ||||
|     } | ||||
| 
 | ||||
|     @SuppressWarnings("EmptyMethod") | ||||
|     @Override | ||||
|     public void terminate() { | ||||
|         super.terminate(); | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
|     /////////////////////////////////////////////////////////////////////////////////////////// | ||||
|     // Navigation | ||||
|     /////////////////////////////////////////////////////////////////////////////////////////// | ||||
|  |  | |||
|  | @ -142,7 +142,6 @@ public class AccountSetupView extends View implements MultiStepNavigation { | |||
| 
 | ||||
|     @Override | ||||
|     public void terminate() { | ||||
|         super.terminate(); | ||||
|         navigation.removeListener(listener); | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Chris Beams
						Chris Beams