Skip to content

Commit aa6b53d

Browse files
committed
refactor(utils): Generalize documentation of isApplicableIvyVersion
Signed-off-by: Nicolas Nobelis <[email protected]>
1 parent 898ed7a commit aa6b53d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

model/src/main/kotlin/utils/VersionUtils.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import org.semver4j.Semver
3535
private val versionRangeIndicators = listOf(",", "~", "*", "+", ">", "<", "=", " - ", "^", ".x", "||")
3636

3737
/**
38-
* Return true if the version of this [PackageCuration] interpreted as an Ivy version matcher is applicable to the
38+
* Return true if the version of this [Identifier] interpreted as an Ivy version matcher is applicable to the
3939
* package with the given [identifier][pkgId].
4040
*/
4141
internal fun Identifier.isApplicableIvyVersion(pkgId: Identifier) =
@@ -56,7 +56,7 @@ internal fun Identifier.isApplicableIvyVersion(pkgId: Identifier) =
5656
return false
5757
}.onFailure {
5858
logger.warn {
59-
"Failed to check if package curation version '$version' is applicable to package version " +
59+
"Failed to check if identifier version '$version' is applicable to package version " +
6060
"'${pkgId.version}' of package '${pkgId.toCoordinates()}'."
6161
}
6262

0 commit comments

Comments
 (0)