Skip to content

Commit f7c45e2

Browse files
committed
Fix literal helper scalastyle
1 parent 111636d commit f7c45e2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

sql-plugin/src/main/scala/com/nvidia/spark/rapids/literals.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616

1717
package com.nvidia.spark.rapids
1818

19-
import java.lang.{Boolean => JBoolean, Byte => JByte, Double => JDouble, Float => JFloat, Long => JLong, Short => JShort}
19+
import java.lang.{Boolean => JBoolean, Byte => JByte, Double => JDouble, Float => JFloat,
20+
Long => JLong, Short => JShort}
2021
import java.math.BigInteger
2122
import java.time.{LocalDate, OffsetDateTime}
2223
import java.util
@@ -685,7 +686,8 @@ case class GpuLiteral (value: Any, dataType: DataType) extends GpuLeafExpression
685686
case (l: Long, TimestampType) => JString(DateTimeUtils.toJavaTimestamp(l).toString)
686687
case (other, _) => JString(other.toString)
687688
}
688-
("value" -> jsonValue) :: ("dataType" -> TrampolineUtil.jsonValue(dataType).asInstanceOf[JValue]) :: Nil
689+
("value" -> jsonValue) ::
690+
("dataType" -> TrampolineUtil.jsonValue(dataType).asInstanceOf[JValue]) :: Nil
689691
}
690692

691693
override def sql: String = (value, dataType) match {

0 commit comments

Comments
 (0)