Skip to content

Commit 1619bdf

Browse files
committed
Simplify Scala syntax functions signatures
1 parent 2063ee3 commit 1619bdf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

core-scala/src/main/scala/io/pdal/pipeline/Implicits.scala

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ object Implicits extends Implicits with Serializable
2727
trait Implicits {
2828
implicit class withPointCloudMethods(self: PointCloud) {
2929
def getCoordinate(i: Int) = new Coordinate(self.getX(i), self.getY(i), self.getZ(i))
30-
31-
def get(idx: Int, dims: SizedDimType*)(implicit d0: DummyImplicit): ByteBuffer =
30+
def get(idx: Int, dims: SizedDimType*): ByteBuffer =
3231
self.get(idx, dims.toArray)
33-
def get(idx: Int, dims: DimType*)(implicit d0: DummyImplicit, d1: DummyImplicit): ByteBuffer =
32+
def get(idx: Int, dims: DimType*)(implicit d0: DummyImplicit): ByteBuffer =
3433
self.get(idx, dims.toArray)
35-
def get(idx: Int, dims: String*)(implicit d0: DummyImplicit, d1: DummyImplicit, d2: DummyImplicit): ByteBuffer =
34+
def get(idx: Int, dims: String*)(implicit d0: DummyImplicit, d1: DummyImplicit): ByteBuffer =
3635
self.get(idx, dims.toArray)
3736
}
3837

0 commit comments

Comments
 (0)