mirror of https://github.com/sbt/sbt.git
Remove unused parameter and default values
This commit is contained in:
parent
158ede9ab1
commit
bc059d1bc6
|
|
@ -138,8 +138,7 @@ private[internal] object SbtUpdateReport {
|
||||||
artifactFileOpt: (Module, String, Attributes, Artifact) => Option[File],
|
artifactFileOpt: (Module, String, Attributes, Artifact) => Option[File],
|
||||||
fullArtifactsOpt: Option[Map[(Dependency, Publication, Artifact), Option[File]]],
|
fullArtifactsOpt: Option[Map[(Dependency, Publication, Artifact), Option[File]]],
|
||||||
log: Logger,
|
log: Logger,
|
||||||
keepPomArtifact: Boolean = false,
|
includeSignatures: Boolean,
|
||||||
includeSignatures: Boolean = false,
|
|
||||||
classpathOrder: Boolean,
|
classpathOrder: Boolean,
|
||||||
missingOk: Boolean
|
missingOk: Boolean
|
||||||
): Vector[ModuleReport] = {
|
): Vector[ModuleReport] = {
|
||||||
|
|
@ -167,13 +166,10 @@ private[internal] object SbtUpdateReport {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val depArtifacts0 =
|
val depArtifacts0 = depArtifacts1.filter {
|
||||||
if (keepPomArtifact)
|
case (_, pub, _, _) =>
|
||||||
depArtifacts1
|
pub.attributes != Attributes(Type.pom, Classifier.empty)
|
||||||
else
|
}
|
||||||
depArtifacts1.filter {
|
|
||||||
case (_, pub, _, _) => pub.attributes != Attributes(Type.pom, Classifier.empty)
|
|
||||||
}
|
|
||||||
|
|
||||||
val depArtifacts =
|
val depArtifacts =
|
||||||
if (includeSignatures) {
|
if (includeSignatures) {
|
||||||
|
|
@ -298,8 +294,7 @@ private[internal] object SbtUpdateReport {
|
||||||
artifactFileOpt: (Module, String, Attributes, Artifact) => Option[File],
|
artifactFileOpt: (Module, String, Attributes, Artifact) => Option[File],
|
||||||
fullArtifactsOpt: Option[Map[(Dependency, Publication, Artifact), Option[File]]],
|
fullArtifactsOpt: Option[Map[(Dependency, Publication, Artifact), Option[File]]],
|
||||||
log: Logger,
|
log: Logger,
|
||||||
keepPomArtifact: Boolean = false,
|
includeSignatures: Boolean,
|
||||||
includeSignatures: Boolean = false,
|
|
||||||
classpathOrder: Boolean,
|
classpathOrder: Boolean,
|
||||||
missingOk: Boolean
|
missingOk: Boolean
|
||||||
): UpdateReport = {
|
): UpdateReport = {
|
||||||
|
|
@ -315,7 +310,6 @@ private[internal] object SbtUpdateReport {
|
||||||
artifactFileOpt,
|
artifactFileOpt,
|
||||||
fullArtifactsOpt,
|
fullArtifactsOpt,
|
||||||
log,
|
log,
|
||||||
keepPomArtifact = keepPomArtifact,
|
|
||||||
includeSignatures = includeSignatures,
|
includeSignatures = includeSignatures,
|
||||||
classpathOrder = classpathOrder,
|
classpathOrder = classpathOrder,
|
||||||
missingOk = missingOk
|
missingOk = missingOk
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue