mirror of https://github.com/sbt/sbt.git
Remove unused apply in `UnresolvedWarning`
This commit is contained in:
parent
c84d297912
commit
1f4030ff17
|
|
@ -723,13 +723,9 @@ object UnresolvedWarning {
|
||||||
(id, modulePosition(id))
|
(id, modulePosition(id))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply(err, failedPaths)
|
|
||||||
}
|
|
||||||
private[sbt] def apply(
|
|
||||||
err: ResolveException,
|
|
||||||
failedPaths: Seq[Seq[(ModuleID, Option[SourcePosition])]]
|
|
||||||
): UnresolvedWarning =
|
|
||||||
new UnresolvedWarning(err, failedPaths)
|
new UnresolvedWarning(err, failedPaths)
|
||||||
|
}
|
||||||
|
|
||||||
private[sbt] def sourcePosStr(posOpt: Option[SourcePosition]): String =
|
private[sbt] def sourcePosStr(posOpt: Option[SourcePosition]): String =
|
||||||
posOpt match {
|
posOpt match {
|
||||||
case Some(LinePosition(path, start)) => s" ($path#L$start)"
|
case Some(LinePosition(path, start)) => s" ($path#L$start)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue