Skip to content

Commit

Permalink
use ClassTag instead of Manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Oct 3, 2023
1 parent 9431f67 commit 6c196cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ private[sbt] object Parser {
}
}
}
private def array[T: scala.reflect.Manifest](size: Int)(f: => T) = Array.tabulate(size)(_ => f)
private def array[T: scala.reflect.ClassTag](size: Int)(f: => T) = Array.tabulate(size)(_ => f)
private def parseConstantPool(in: DataInputStream) = {
val constantPoolSize = in.readUnsignedShort()
val pool = new Array[Constant](constantPoolSize)
Expand Down

0 comments on commit 6c196cf

Please sign in to comment.