Skip to content

Commit

Permalink
chore(format): fix ktlint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospereira committed Oct 26, 2024
1 parent efaa7fc commit 1febecc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/kotlin/br/ufpe/liber/assets/Assets.kt
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,7 @@ data class Encoding(val http: String, val extension: String, val priority: Int)
}

@Suppress("IDENTIFIER_LENGTH") // it is okay to use `q` because it is part of the spec.
data class AcceptEncoding(
val name: String,
val q: Optional<Float> = Optional.empty(),
) : Comparable<AcceptEncoding> {
data class AcceptEncoding(val name: String, val q: Optional<Float> = Optional.empty()) : Comparable<AcceptEncoding> {
@Suppress("MAGIC_NUMBER")
val qualityValue = q.getOrDefault(1f)

Expand Down

0 comments on commit 1febecc

Please sign in to comment.