mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2026-01-25 13:04:08 +01:00
Lint
This commit is contained in:
@@ -121,7 +121,6 @@ interface Filter<T : Filter<T>> : HasGetOp {
|
||||
}
|
||||
return op
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
interface ScalarFilter<T> {
|
||||
|
||||
@@ -14,7 +14,6 @@ interface OrderBy<T> {
|
||||
fun less(cursor: Cursor): Op<Boolean>
|
||||
}
|
||||
|
||||
|
||||
fun SortOrder?.maybeSwap(value: Any?): SortOrder {
|
||||
return if (value != null) {
|
||||
when (this) {
|
||||
@@ -29,4 +28,4 @@ fun SortOrder?.maybeSwap(value: Any?): SortOrder {
|
||||
} else {
|
||||
this ?: SortOrder.ASC
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user