We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 591844f commit b31a721Copy full SHA for b31a721
java/kotlin-extractor/src/main/kotlin/LinesOfCode.kt
@@ -20,8 +20,6 @@ class LinesOfCode(
20
fun linesOfCodeInFile(id: Label<DbFile>) {
21
val ktFile = psi2Ir.getKtFile(file)
22
if (ktFile == null) {
23
- logger.warnElement("Cannot find PSI for file", file)
24
- println("No KtFile")
25
return
26
}
27
linesOfCodeInPsi(id, ktFile, file)
@@ -30,8 +28,6 @@ class LinesOfCode(
30
28
fun linesOfCodeInDeclaration(d: IrDeclaration, id: Label<out DbSourceline>) {
31
29
val p = psi2Ir.findPsiElement(d, file)
32
if (p == null) {
33
- logger.warnElement("Cannot find PSI for declaration: " + d.javaClass, d)
34
- println("No p")
35
36
37
linesOfCodeInPsi(id, p, d)
0 commit comments