Minor: fix warnings

This commit is contained in:
Natalia Ukhorskaya
2015-10-22 14:54:13 +03:00
parent e534636f03
commit 67e66f74bc
@@ -55,7 +55,7 @@ fun canPutAt(file: VirtualFile, line: Int, project: Project, breakpointTypeClass
var result: Class<*>? = null
XDebuggerUtil.getInstance().iterateLine(project, document, line, fun (el: PsiElement): Boolean {
// 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
}