diff --git a/dataset/src/main/scala/frameless/TypedEncoder.scala b/dataset/src/main/scala/frameless/TypedEncoder.scala index 904c6ff2..8467ecd3 100644 --- a/dataset/src/main/scala/frameless/TypedEncoder.scala +++ b/dataset/src/main/scala/frameless/TypedEncoder.scala @@ -530,11 +530,15 @@ object TypedEncoder { implicit ordering: Ordering[Y] ) = new CollectionConversion[Set, TreeSet, Y] { - override def convert(c: Set[Y]): TreeSet[Y] = TreeSet.newBuilder.++=(c).result() + + override def convert(c: Set[Y]): TreeSet[Y] = + TreeSet.newBuilder.++=(c).result() } implicit def setToListSet[Y] = new CollectionConversion[Set, ListSet, Y] { - override def convert(c: Set[Y]): ListSet[Y] = ListSet.newBuilder.++=(c).result() + + override def convert(c: Set[Y]): ListSet[Y] = + ListSet.newBuilder.++=(c).result() } }