mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-11-03 20:08:00 +00:00 
			
		
		
		
	Solving CR changes.
This commit is contained in:
		
							parent
							
								
									5b64876e2c
								
							
						
					
					
						commit
						fa143804d2
					
				@ -45,6 +45,7 @@ import java.util.concurrent.TimeUnit
 | 
				
			|||||||
 * @author Christian Schabesberger
 | 
					 * @author Christian Schabesberger
 | 
				
			||||||
 * @author David González V.
 | 
					 * @author David González V.
 | 
				
			||||||
 * @author Juan Carlos Garrote Gascón
 | 
					 * @author Juan Carlos Garrote Gascón
 | 
				
			||||||
 | 
					 * @author Manuel Plazas Palacio
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * @param sourceRemotePath    Remote path of the file/folder to copy.
 | 
					 * @param sourceRemotePath    Remote path of the file/folder to copy.
 | 
				
			||||||
 * @param targetRemotePath Remote path desired for the file/folder to copy it.
 | 
					 * @param targetRemotePath Remote path desired for the file/folder to copy it.
 | 
				
			||||||
@ -113,7 +114,7 @@ class CopyRemoteFileOperation(
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private fun addRequestHeaders(copyMethod: CopyMethod) {
 | 
					    private fun addRequestHeaders(copyMethod: CopyMethod) {
 | 
				
			||||||
        //Adding this because the library has an error whit override
 | 
					        //Adding this because the library has an error with override
 | 
				
			||||||
        if (copyMethod.forceOverride) {
 | 
					        if (copyMethod.forceOverride) {
 | 
				
			||||||
            copyMethod.setRequestHeader(OVERWRITE, TRUE)
 | 
					            copyMethod.setRequestHeader(OVERWRITE, TRUE)
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
@ -130,7 +130,7 @@ open class MoveRemoteFileOperation(
 | 
				
			|||||||
     * In case new headers are needed, override this method
 | 
					     * In case new headers are needed, override this method
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    open fun addRequestHeaders(moveMethod: MoveMethod) {
 | 
					    open fun addRequestHeaders(moveMethod: MoveMethod) {
 | 
				
			||||||
        //Adding this because the library has an error whit override
 | 
					        //Adding this because the library has an error with override
 | 
				
			||||||
        if (moveMethod.forceOverride) {
 | 
					        if (moveMethod.forceOverride) {
 | 
				
			||||||
            moveMethod.setRequestHeader(OVERWRITE, TRUE)
 | 
					            moveMethod.setRequestHeader(OVERWRITE, TRUE)
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user