Skip to content

Commit 6f322b4

Browse files
committed
Fix detekt issue: remove unused avatarDimension
1 parent 641d2a6 commit 6f322b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

opencloudComLibrary/src/main/java/eu/opencloud/android/lib/resources/users/GetRemoteUserAvatarOperation.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import java.net.URL
4141
* @author David A. Velasco
4242
* @author David González Verdugo
4343
*/
44-
class GetRemoteUserAvatarOperation(private val avatarDimension: Int) : RemoteOperation<RemoteAvatarData>() {
44+
class GetRemoteUserAvatarOperation : RemoteOperation<RemoteAvatarData>() {
4545
override fun run(client: OpenCloudClient): RemoteOperationResult<RemoteAvatarData> {
4646
var inputStream: InputStream? = null
4747
var result: RemoteOperationResult<RemoteAvatarData>

opencloudComLibrary/src/main/java/eu/opencloud/android/lib/resources/users/services/implementation/OCUserService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ class OCUserService(override val client: OpenCloudClient) : UserService {
4343
GetRemoteUserQuotaOperation().execute(client)
4444

4545
override fun getUserAvatar(avatarDimension: Int): RemoteOperationResult<RemoteAvatarData> =
46-
GetRemoteUserAvatarOperation(avatarDimension).execute(client)
46+
GetRemoteUserAvatarOperation().execute(client)
4747

4848
}

0 commit comments

Comments
 (0)