Minor: fix warnings
This commit is contained in:
@@ -55,7 +55,7 @@ fun canPutAt(file: VirtualFile, line: Int, project: Project, breakpointTypeClass
|
|||||||
var result: Class<*>? = null
|
var result: Class<*>? = null
|
||||||
XDebuggerUtil.getInstance().iterateLine(project, document, line, fun (el: PsiElement): Boolean {
|
XDebuggerUtil.getInstance().iterateLine(project, document, line, fun (el: PsiElement): Boolean {
|
||||||
// avoid comments
|
// avoid comments
|
||||||
if (el is PsiWhiteSpace || PsiTreeUtil.getParentOfType(el, javaClass<PsiComment>(), false) != null) {
|
if (el is PsiWhiteSpace || PsiTreeUtil.getParentOfType(el, PsiComment::class.java, false) != null) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user