This commit is contained in:
Syer10
2023-04-08 13:36:28 -04:00
parent a4dfcf80e4
commit 0e84b8a154
2 changed files with 1 additions and 3 deletions

View File

@@ -121,7 +121,6 @@ interface Filter<T : Filter<T>> : HasGetOp {
} }
return op return op
} }
} }
interface ScalarFilter<T> { interface ScalarFilter<T> {

View File

@@ -14,7 +14,6 @@ interface OrderBy<T> {
fun less(cursor: Cursor): Op<Boolean> fun less(cursor: Cursor): Op<Boolean>
} }
fun SortOrder?.maybeSwap(value: Any?): SortOrder { fun SortOrder?.maybeSwap(value: Any?): SortOrder {
return if (value != null) { return if (value != null) {
when (this) { when (this) {
@@ -29,4 +28,4 @@ fun SortOrder?.maybeSwap(value: Any?): SortOrder {
} else { } else {
this ?: SortOrder.ASC this ?: SortOrder.ASC
} }
} }