mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-01-30 17:04:51 +01:00
Update ktlint to 0.28.0 version.
This commit is contained in:
parent
6376a27b8b
commit
73af16b9c5
@ -5,8 +5,8 @@ ext.versions = [
|
||||
gradle : '4.5.1',
|
||||
|
||||
androidTools : "3.1.3",
|
||||
ktlint : "0.24.0",
|
||||
ktlintGradle : "4.1.0",
|
||||
ktlint : "0.28.0",
|
||||
ktlintGradle : "5.1.0",
|
||||
detekt : "1.0.0.RC6-4",
|
||||
jacoco : "0.8.2",
|
||||
|
||||
|
@ -20,7 +20,8 @@ class CoverArtRequestHandler(private val apiClient: SubsonicAPIClient) : Request
|
||||
}
|
||||
|
||||
override fun load(request: Request, networkPolicy: Int): Result {
|
||||
val id = request.uri.getQueryParameter(QUERY_ID) ?: throw IllegalArgumentException("Nullable id")
|
||||
val id = request.uri.getQueryParameter(QUERY_ID)
|
||||
?: throw IllegalArgumentException("Nullable id")
|
||||
|
||||
val response = apiClient.getCoverArt(id)
|
||||
if (response.hasError()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user