mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	Rename confusing vars after CR
This commit is contained in:
		
							parent
							
								
									455cabb72b
								
							
						
					
					
						commit
						b2034e1be2
					
				| @ -45,12 +45,12 @@ public class DynamicSessionManager implements OwnCloudClientManager { | ||||
| 
 | ||||
|     @Override | ||||
|     public OwnCloudClient removeClientFor(OwnCloudAccount account) { | ||||
|         OwnCloudClient clientRemoved = mSimpleFactoryManager.removeClientFor(account); | ||||
|         OwnCloudClient clientRemoved2 = mSingleSessionManager.removeClientFor(account); | ||||
|         if (clientRemoved2 != null) { | ||||
|             return clientRemoved2; | ||||
|         OwnCloudClient clientRemovedFromFactoryManager = mSimpleFactoryManager.removeClientFor(account); | ||||
|         OwnCloudClient clientRemovedFromSingleSessionManager = mSingleSessionManager.removeClientFor(account); | ||||
|         if (clientRemovedFromSingleSessionManager != null) { | ||||
|             return clientRemovedFromSingleSessionManager; | ||||
|         } else { | ||||
|             return clientRemoved; | ||||
|             return clientRemovedFromFactoryManager; | ||||
|         } | ||||
|         // clientRemoved and clientRemoved2 should not be != null at the same time | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user