mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	Fix problem with expiration value in ShareXMLParser
This commit is contained in:
		
							parent
							
								
									30acd4875d
								
							
						
					
					
						commit
						b7c136286e
					
				| @ -311,7 +311,7 @@ public class ShareXMLParser { | ||||
| 
 | ||||
| 			} else if (name.equalsIgnoreCase(NODE_EXPIRATION)) { | ||||
| 				String value = readNode(parser, NODE_EXPIRATION); | ||||
| 				if (!value.isEmpty()) { | ||||
| 				if (!(value.length() == 0)) { | ||||
| 					share.setExpirationDate(Long.parseLong(readNode(parser, NODE_EXPIRATION))); // check if expiration is in long format or date format | ||||
| 				} | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user