From 2e7d0854023ff82de6cdf58ed7385e6ec99010d0 Mon Sep 17 00:00:00 2001 From: Leonid Stryuk Date: Thu, 19 Dec 2024 14:22:14 +0100 Subject: [PATCH] Dropped unnecessary classcast --- query/src/main/kotlin/jetbrains/exodus/query/SortEngine.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query/src/main/kotlin/jetbrains/exodus/query/SortEngine.kt b/query/src/main/kotlin/jetbrains/exodus/query/SortEngine.kt index 62b066d54..749e6cbcd 100644 --- a/query/src/main/kotlin/jetbrains/exodus/query/SortEngine.kt +++ b/query/src/main/kotlin/jetbrains/exodus/query/SortEngine.kt @@ -45,7 +45,7 @@ open class SortEngine { } val i = queryEngine.toEntityIterable(source) if (queryEngine.isPersistentIterable(i)) { - val it = (i as OEntityIterableBase).unwrap() + val it = (i as EntityIterable).unwrap() if (it === OEntityIterableBase.EMPTY) { OEntityIterableBase.EMPTY }