Skip to content

Commit

Permalink
Merge pull request #233 from JetBrains/graph-store-fix-classcast
Browse files Browse the repository at this point in the history
Dropped unnecessary ClassCast
  • Loading branch information
leostryuk authored Dec 19, 2024
2 parents b6e84d8 + 2e7d085 commit 3d90504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query/src/main/kotlin/jetbrains/exodus/query/SortEngine.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3d90504

Please sign in to comment.