Skip to content

Commit

Permalink
remove usage of new constructor for DefaultVersionSelectorScheme - te…
Browse files Browse the repository at this point in the history
…mporarily
  • Loading branch information
rpalcolea committed Sep 10, 2019
1 parent ed9f21d commit 7e0adb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/netflix/nebula/interop/versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import org.gradle.api.internal.artifacts.ivyservice.ivyresolve.strategy.*
private val VERSIONED_COMPARATOR = DefaultVersionComparator()
private val VERSION_COMPARATOR = VERSIONED_COMPARATOR.asVersionComparator()
private val VERSION_PARSER = VersionParser()
private val VERSION_SCHEME = DefaultVersionSelectorScheme(VERSIONED_COMPARATOR, VERSION_PARSER)
private val VERSION_SCHEME = DefaultVersionSelectorScheme(VERSIONED_COMPARATOR)

data class VersionWithSelector(val stringVersion: String, val version: Version = VERSION_PARSER.transform(stringVersion)) : Comparable<Version>, Version by version {
private val selector: VersionSelector by lazy {
Expand Down

0 comments on commit 7e0adb9

Please sign in to comment.