mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-11-03 20:08:00 +00:00 
			
		
		
		
	Remove nullability from a variable
This commit is contained in:
		
							parent
							
								
									bfa327d51d
								
							
						
					
					
						commit
						577fd3af27
					
				@ -50,7 +50,7 @@ class RenameRemoteFileOperation(
 | 
				
			|||||||
    isFolder: Boolean,
 | 
					    isFolder: Boolean,
 | 
				
			||||||
) : RemoteOperation<Unit>() {
 | 
					) : RemoteOperation<Unit>() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private var newRemotePath: String? = null
 | 
					    private var newRemotePath: String
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    init {
 | 
					    init {
 | 
				
			||||||
        var parent = (File(oldRemotePath)).parent!!
 | 
					        var parent = (File(oldRemotePath)).parent!!
 | 
				
			||||||
@ -75,7 +75,6 @@ class RenameRemoteFileOperation(
 | 
				
			|||||||
            val moveMethod: MoveMethod = MoveMethod(
 | 
					            val moveMethod: MoveMethod = MoveMethod(
 | 
				
			||||||
                url = URL(client.userFilesWebDavUri.toString() + WebdavUtils.encodePath(oldRemotePath)),
 | 
					                url = URL(client.userFilesWebDavUri.toString() + WebdavUtils.encodePath(oldRemotePath)),
 | 
				
			||||||
                destinationUrl = client.userFilesWebDavUri.toString() + WebdavUtils.encodePath(newRemotePath),
 | 
					                destinationUrl = client.userFilesWebDavUri.toString() + WebdavUtils.encodePath(newRemotePath),
 | 
				
			||||||
                forceOverride = false
 | 
					 | 
				
			||||||
            ).apply {
 | 
					            ).apply {
 | 
				
			||||||
                setReadTimeout(RENAME_READ_TIMEOUT, TimeUnit.MILLISECONDS)
 | 
					                setReadTimeout(RENAME_READ_TIMEOUT, TimeUnit.MILLISECONDS)
 | 
				
			||||||
                setConnectionTimeout(RENAME_CONNECTION_TIMEOUT, TimeUnit.MILLISECONDS)
 | 
					                setConnectionTimeout(RENAME_CONNECTION_TIMEOUT, TimeUnit.MILLISECONDS)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user