Skip to content

Commit b31a721

Browse files
committed
Kotlin: Remove some noisy diagnostics
1 parent 591844f commit b31a721

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

java/kotlin-extractor/src/main/kotlin/LinesOfCode.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ class LinesOfCode(
2020
fun linesOfCodeInFile(id: Label<DbFile>) {
2121
val ktFile = psi2Ir.getKtFile(file)
2222
if (ktFile == null) {
23-
logger.warnElement("Cannot find PSI for file", file)
24-
println("No KtFile")
2523
return
2624
}
2725
linesOfCodeInPsi(id, ktFile, file)
@@ -30,8 +28,6 @@ class LinesOfCode(
3028
fun linesOfCodeInDeclaration(d: IrDeclaration, id: Label<out DbSourceline>) {
3129
val p = psi2Ir.findPsiElement(d, file)
3230
if (p == null) {
33-
logger.warnElement("Cannot find PSI for declaration: " + d.javaClass, d)
34-
println("No p")
3531
return
3632
}
3733
linesOfCodeInPsi(id, p, d)

0 commit comments

Comments
 (0)