mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-11-03 20:08:00 +00:00 
			
		
		
		
	Use .equals instead of !=
This code never worked. Please consider adding unit tests.
This commit is contained in:
		
							parent
							
								
									8850a81222
								
							
						
					
					
						commit
						267c7cfd08
					
				@ -218,7 +218,7 @@ public class AccountUtils {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		if (client != null) {
 | 
							if (client != null) {
 | 
				
			||||||
			String cookiesString = client.getCookiesString();
 | 
								String cookiesString = client.getCookiesString();
 | 
				
			||||||
			if (cookiesString != "") {
 | 
								if (!cookiesString.equals("")) {
 | 
				
			||||||
				ac.setUserData(savedAccount, Constants.KEY_COOKIES, cookiesString); 
 | 
									ac.setUserData(savedAccount, Constants.KEY_COOKIES, cookiesString); 
 | 
				
			||||||
				// Log_OC.d(TAG, "Saving Cookies: "+ cookiesString );
 | 
									// Log_OC.d(TAG, "Saving Cookies: "+ cookiesString );
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user