Typo fixed

This commit is contained in:
Andrey Breslav
2012-02-22 16:15:09 +04:00
parent 583bcc0a1d
commit be032b84c8
@@ -107,7 +107,7 @@ public class KDocProcessor implements JetFileProcessor {
@Nullable @Nullable
private String getDocCommentFor(PsiElement psiElement) { private String getDocCommentFor(PsiElement psiElement) {
// This method is a hack. Doc comments should be easilty accessible, but they aren't for now. // This method is a hack. Doc comments should be easily accessible, but they aren't for now.
ASTNode node = psiElement.getNode().getTreePrev(); ASTNode node = psiElement.getNode().getTreePrev();
while (node != null && (node.getElementType() == JetTokens.WHITE_SPACE || node.getElementType() == JetTokens.BLOCK_COMMENT)) { while (node != null && (node.getElementType() == JetTokens.WHITE_SPACE || node.getElementType() == JetTokens.BLOCK_COMMENT)) {
node = node.getTreePrev(); node = node.getTreePrev();