Skip to content

Commit

Permalink
Resolve Qodana problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Exidex committed Aug 22, 2023
1 parent dcb1573 commit ebc1a46
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions qodana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ exclude:
- name: All
paths:
- .qodana
- name: JavaIoSerializableObjectMustHaveReadResolve
2 changes: 1 addition & 1 deletion src/main/kotlin/dev/kdl/lang/formatter/KdlBlock.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import dev.kdl.lang.children
import dev.kdl.lang.parser.KdlParserDefinition.Companion.WHITESPACES
import dev.kdl.lang.psi.ext.KdlElementTypes.*

class KdlBlock constructor(
class KdlBlock(
node: ASTNode,
wrap: Wrap?,
private val indent: Indent,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.kdl.lang.highlighter;
package dev.kdl.lang.highlighter

import com.intellij.lexer.LayeredLexer
import com.intellij.psi.tree.IElementType
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/dev/kdl/lang/psi/KdlElementFactory.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ object KdlElementFactory {
.string!!
}

fun createFile(project: Project, text: String): KdlPsiFile {
private fun createFile(project: Project, text: String): KdlPsiFile {
return PsiFileFactory.getInstance(project)
.createFileFromText("dummy.kdl", KdlFileType, text) as KdlPsiFile
}
Expand Down

0 comments on commit ebc1a46

Please sign in to comment.