Skip to content

Commit

Permalink
chore: remove deprecation anotation from selector tag methods
Browse files Browse the repository at this point in the history
  • Loading branch information
uglyog committed Jul 6, 2022
1 parent 04974aa commit 84337ce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,12 @@ sealed class ConsumerVersionSelectors {
/**
* All versions with the specified tag
*/
@Deprecated(message = "Tags have been deprecated in favor of branches")
data class Tag(val tag: String): ConsumerVersionSelectors()

/**
* The latest version for each consumer with the specified tag. If fallback is provided, will fall back to the
* fallback tag if none is found with the specified tag
*/
@Deprecated(message = "Tags have been deprecated in favor of branches")
data class LatestTag @JvmOverloads constructor(
val tag: String,
val fallback: String? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ open class SelectorBuilder {
/**
* All versions with the specified tag
*/
@Deprecated("Tags are deprecated in favor of branches", ReplaceWith("branch"))
fun tag(name: String): SelectorBuilder {
selectors.add(ConsumerVersionSelectors.Tag(name))
return this
Expand All @@ -85,7 +84,6 @@ open class SelectorBuilder {
/**
* The latest version for each consumer with the specified tag
*/
@Deprecated("Tags are deprecated in favor of branches", ReplaceWith("branch"))
fun latestTag(name: String): SelectorBuilder {
selectors.add(ConsumerVersionSelectors.LatestTag(name))
return this
Expand Down

0 comments on commit 84337ce

Please sign in to comment.