1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-06 15:36:45 +00:00

Solving CR changes.

This commit is contained in:
Manuel Plazas Palacio 2023-06-08 13:31:09 +02:00
parent 5b64876e2c
commit fa143804d2
2 changed files with 3 additions and 2 deletions

View File

@ -45,6 +45,7 @@ import java.util.concurrent.TimeUnit
* @author Christian Schabesberger
* @author David González V.
* @author Juan Carlos Garrote Gascón
* @author Manuel Plazas Palacio
*
* @param sourceRemotePath Remote path of the file/folder to copy.
* @param targetRemotePath Remote path desired for the file/folder to copy it.
@ -113,7 +114,7 @@ class CopyRemoteFileOperation(
}
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) {
copyMethod.setRequestHeader(OVERWRITE, TRUE)
}

View File

@ -130,7 +130,7 @@ open class MoveRemoteFileOperation(
* In case new headers are needed, override this method
*/
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) {
moveMethod.setRequestHeader(OVERWRITE, TRUE)
}