Skip to content

Commit da46ca9

Browse files
committed
Skip Java source files in SourceFiles
1 parent 1f089cc commit da46ca9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server/src/main/kotlin/org/javacs/kt/SourceFiles.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ class SourceFiles(
147147
val fileName = uri.filePath?.fileName?.toString() ?: return null
148148
return when {
149149
fileName.endsWith(".kt") || fileName.endsWith(".kts") -> KotlinLanguage.INSTANCE
150-
fileName.endsWith(".java") -> JavaLanguage.INSTANCE
151150
else -> null
152151
}
153152
}

0 commit comments

Comments
 (0)