From fa143804d20a8c580dd332faeee623b7b2b701ab Mon Sep 17 00:00:00 2001 From: Manuel Plazas Palacio Date: Thu, 8 Jun 2023 13:31:09 +0200 Subject: [PATCH] Solving CR changes. --- .../android/lib/resources/files/CopyRemoteFileOperation.kt | 3 ++- .../android/lib/resources/files/MoveRemoteFileOperation.kt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/CopyRemoteFileOperation.kt b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/CopyRemoteFileOperation.kt index 89c7ab94..3f0990c6 100644 --- a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/CopyRemoteFileOperation.kt +++ b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/CopyRemoteFileOperation.kt @@ -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) } diff --git a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/MoveRemoteFileOperation.kt b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/MoveRemoteFileOperation.kt index 0646c239..6f9fb3d2 100644 --- a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/MoveRemoteFileOperation.kt +++ b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/MoveRemoteFileOperation.kt @@ -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) }