From 25517e1820e5b5306a0d8badbb027149f0e46ec2 Mon Sep 17 00:00:00 2001 From: Matt Hicks Date: Thu, 5 Sep 2024 09:42:37 -0500 Subject: [PATCH] Scala 3 fixes --- async/src/main/scala/lightdb/async/AsyncQuery.scala | 2 +- core/src/main/scala/lightdb/Query.scala | 2 +- core/src/main/scala/lightdb/spatial/Geo.scala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/async/src/main/scala/lightdb/async/AsyncQuery.scala b/async/src/main/scala/lightdb/async/AsyncQuery.scala index 35ac8327..4a212f50 100644 --- a/async/src/main/scala/lightdb/async/AsyncQuery.scala +++ b/async/src/main/scala/lightdb/async/AsyncQuery.scala @@ -7,7 +7,7 @@ import lightdb.{Field, Id, Query, SearchResults, Sort, SortDirection, UniqueInde import lightdb.collection.Collection import lightdb.distance.Distance import lightdb.doc.{Document, DocumentModel} -import lightdb.filter.Filter +import lightdb.filter._ import lightdb.materialized.MaterializedIndex import lightdb.spatial.{DistanceAndDoc, Geo} import lightdb.store.Conversion diff --git a/core/src/main/scala/lightdb/Query.scala b/core/src/main/scala/lightdb/Query.scala index 375d488f..145f9128 100644 --- a/core/src/main/scala/lightdb/Query.scala +++ b/core/src/main/scala/lightdb/Query.scala @@ -6,7 +6,7 @@ import lightdb.collection.Collection import lightdb.distance.Distance import lightdb.doc.{Document, DocumentModel} import lightdb.error.NonIndexedFieldException -import lightdb.filter.Filter +import lightdb.filter._ import lightdb.materialized.MaterializedIndex import lightdb.spatial.{DistanceAndDoc, Geo} import lightdb.store.{Conversion, StoreMode} diff --git a/core/src/main/scala/lightdb/spatial/Geo.scala b/core/src/main/scala/lightdb/spatial/Geo.scala index 61942a94..961fac4d 100644 --- a/core/src/main/scala/lightdb/spatial/Geo.scala +++ b/core/src/main/scala/lightdb/spatial/Geo.scala @@ -1,6 +1,6 @@ package lightdb.spatial -import fabric.rw.RW +import fabric.rw._ sealed trait Geo