Skip to content

Commit

Permalink
Updated code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
severn-everett committed Jan 4, 2022
1 parent 3306f4f commit 1ce0a2d
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -143,7 +143,8 @@ class UnnecessaryInnerClass(config: Config = Config.empty) : Rule(config) {
}
}

// Replace this "contructor().apply{}" pattern with buildSet() when Kotlin is upgraded to 1.6
// Replace this "constructor().apply{}" pattern with buildSet() when the Kotlin
// API version is upgraded to 1.6
private fun buildParentClassChain(klass: KtClass) = HashSet<ClassId>().apply {
var containingClass = klass.containingClass()
while (containingClass != null) {
Expand Down

0 comments on commit 1ce0a2d

Please sign in to comment.