Skip to content

Commit 079ebb1

Browse files
committed
self review
1 parent ee25d9b commit 079ebb1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ktlint/minor-version-rules/src/main/kotlin/software/aws/ktlint/rules/DeprecatedApiRule.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ internal fun deprecatedUntilVersionRegex(major: Int, minor: Int): Regex =
1919
)
2020

2121
/**
22-
* Creates a ktlint rule that detects APIs annotated with @DeprecatedUntilVersion for the specified versions.
23-
* If autocorrect is enabled, the API will be deleted.
22+
* Creates a ktlint rule that detects APIs annotated with @DeprecatedUntilVersion for the upcoming minor version.
2423
*/
2524
class DeprecatedApiRule : Rule(RuleId("minor-version-strategy-rules:deprecated-apis"), About()) {
2625
override fun beforeVisitChildNodes(

0 commit comments

Comments
 (0)