Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 2a23a1c

Browse files
theScrabiabelgardep
authored andcommitted
remove result from status requester
1 parent 9ad0e8f commit 2a23a1c

File tree

1 file changed

+1
-2
lines changed
  • owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/status

1 file changed

+1
-2
lines changed

owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/status/StatusRequester.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ internal class StatusRequester {
6868
data class RequestResult(
6969
val getMethod: GetMethod,
7070
val status: Int,
71-
val result: RemoteOperationResult<OwnCloudVersion>,
7271
val redirectedToUnsecureLocation: Boolean
7372
)
7473

@@ -86,7 +85,7 @@ internal class StatusRequester {
8685
else RemoteOperationResult(getMethod)
8786

8887
if (result.redirectedLocation.isNullOrEmpty() || result.isSuccess) {
89-
return RequestResult(getMethod, status, result, redirectedToUnsecureLocation)
88+
return RequestResult(getMethod, status, redirectedToUnsecureLocation)
9089
} else {
9190
val nextLocation = updateLocationWithRedirectPath(currentLocation, result.redirectedLocation)
9291
redirectedToUnsecureLocation =

0 commit comments

Comments
 (0)