Skip to content

Commit 2f44fe5

Browse files
Merlin Rabensmerlinrabens
authored andcommitted
Serialize java.lang.Long as scala.Long
1 parent 837ccdf commit 2f44fe5

File tree

1 file changed

+1
-2
lines changed
  • src/main/scala/com/intenthq/action_processor/integrations/aggregations

1 file changed

+1
-2
lines changed

src/main/scala/com/intenthq/action_processor/integrations/aggregations/Aggregate.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ object Aggregate {
2727
MapDBRepository
2828
.load(mapDbSettings)
2929
.map(db =>
30-
db.hashMap("stuff", serializer, Serializer.LONG)
30+
db.hashMap("stuff", serializer, Serializer.LONG.asInstanceOf[Serializer[Long]])
3131
.layout(mapDbSettings.segments, mapDbSettings.nodeSize, mapDbSettings.levels)
3232
.createOrOpen()
33-
.asInstanceOf[HTreeMap[K, Long]]
3433
)
3534
}
3635

0 commit comments

Comments
 (0)