Skip to content

Commit

Permalink
fix scala 2.13
Browse files Browse the repository at this point in the history
Signed-off-by: Hongbin Ma (Mahone) <[email protected]>
  • Loading branch information
binmahone committed Jul 1, 2024
1 parent 10b7d20 commit 4451c54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sql-plugin/src/main/scala/com/nvidia/spark/rapids/Arm.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ object Arm extends ArmScalaSpecificImpl {
}

/** Executes the provided code block and then closes the sequence of resources */
def withResource[T <: AutoCloseable, V](r: Seq[T])(block: Seq[T] => V): V = {
def withResource[T <: AutoCloseable, V](r: scala.collection.Seq[T])
(block: scala.collection.Seq[T] => V): V = {
try {
block(r)
} finally {
Expand Down

0 comments on commit 4451c54

Please sign in to comment.