From 0cbb73a47ec814c8311b30c009972fe210e505c3 Mon Sep 17 00:00:00 2001 From: Tamas Vajk Date: Wed, 31 Aug 2022 09:02:35 +0200 Subject: [PATCH] Improve code quality --- .../src/main/kotlin/comments/CommentExtractor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/kotlin-extractor/src/main/kotlin/comments/CommentExtractor.kt b/java/kotlin-extractor/src/main/kotlin/comments/CommentExtractor.kt index 0cc5b66cf5e..2e3474d85d2 100644 --- a/java/kotlin-extractor/src/main/kotlin/comments/CommentExtractor.kt +++ b/java/kotlin-extractor/src/main/kotlin/comments/CommentExtractor.kt @@ -144,7 +144,7 @@ class CommentExtractor(private val fileExtractor: KotlinFileExtractor, private v return null } // Assign the comment to the class. The content of the `init` blocks might be extracted in multiple constructors. - return fileExtractor.getClassLabel(parentClass, listOf()).classLabel + return getLabel(parentClass) } // Fresh entities: