Skip to content

Commit

Permalink
Merge pull request #1265 from xuwei-k/Manifest-ClassTag
Browse files Browse the repository at this point in the history
use `ClassTag` instead of `Manifest`
  • Loading branch information
eed3si9n authored Oct 6, 2023
2 parents 9431f67 + 6c196cf commit 3f5e423
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 3f5e423

Please sign in to comment.