Skip to content

Commit

Permalink
Cleanup the diff
Browse files Browse the repository at this point in the history
  • Loading branch information
pomadchin committed May 12, 2024
1 parent 24018c0 commit 820755f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*
* Copyright 2016 Azavea
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -26,9 +25,12 @@ import io.circe.parser.{parse => circeParse}

import scala.reflect.ClassTag
import scala.reflect.runtime.universe.TypeTag
import scala.util.{Failure, Success, Try}
import scala.util.{Try, Success, Failure}

object Implicits extends Implicits

trait Implicits extends GeoJsonSupport {

implicit class GeometriesToGeoJson(val geoms: Traversable[Geometry]) {
def toGeoJson(): String = {
GeometryCollection(geoms).asJson.noSpaces
Expand Down Expand Up @@ -103,5 +105,3 @@ trait Implicits extends GeoJsonSupport {
}
}
}

object Implicits extends Implicits

0 comments on commit 820755f

Please sign in to comment.