Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
spotless
Signed-off-by: tobiasKaminsky <[email protected]>
  • Loading branch information
tobiasKaminsky committed Jan 21, 2025
commit 75e5ec002206e5f781f80eadf38d8c8598b9a2ef
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ import org.apache.commons.httpclient.HttpStatus
/**
* Get recommendation of an user
*/
class GetRecommendationsRemoteOperation :
OCSRemoteOperation<RecommendationResponse>() {
class GetRecommendationsRemoteOperation : OCSRemoteOperation<RecommendationResponse>() {
@Suppress("TooGenericExceptionCaught")
override fun run(client: NextcloudClient): RemoteOperationResult<RecommendationResponse> {
var result: RemoteOperationResult<RecommendationResponse>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@

package com.nextcloud.android.lib.resources.recommendations

data class RecommendationResponse(val enabled: Boolean, val recommendations: ArrayList<Recommendation>)
data class RecommendationResponse(
val enabled: Boolean,
val recommendations: ArrayList<Recommendation>
)
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class NextcloudVersion : OwnCloudVersion {

@JvmField
val nextcloud_30 = NextcloudVersion(0x1E000000) // 30.0

@JvmField
val nextcloud_31 = NextcloudVersion(0x1F000000) // 31.0
}
Expand Down