From 642ac2ec5e1e8988db0b7085bb7b538c48e2ddd4 Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Fri, 13 Nov 2015 23:01:59 +0300 Subject: [PATCH] Minor: rename JetParserDefinition to KotlinParserDefinition in comments --- compiler/frontend/src/org/jetbrains/kotlin/lexer/KtTokens.java | 2 +- compiler/frontend/src/org/jetbrains/kotlin/psi/KtPsiUtil.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/frontend/src/org/jetbrains/kotlin/lexer/KtTokens.java b/compiler/frontend/src/org/jetbrains/kotlin/lexer/KtTokens.java index 15d58b1bd26..ddccced03b6 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/lexer/KtTokens.java +++ b/compiler/frontend/src/org/jetbrains/kotlin/lexer/KtTokens.java @@ -224,7 +224,7 @@ public interface KtTokens { TokenSet WHITESPACES = TokenSet.create(TokenType.WHITE_SPACE); /** - * Don't add KDocTokens to COMMENTS TokenSet, because it is used in JetParserDefinition.getCommentTokens(), + * Don't add KDocTokens to COMMENTS TokenSet, because it is used in KotlinParserDefinition.getCommentTokens(), * and therefor all COMMENTS tokens will be ignored by PsiBuilder. * * @see KtPsiUtil#isInComment(com.intellij.psi.PsiElement) diff --git a/compiler/frontend/src/org/jetbrains/kotlin/psi/KtPsiUtil.java b/compiler/frontend/src/org/jetbrains/kotlin/psi/KtPsiUtil.java index cf4f19cde2d..cec631b5c95 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/psi/KtPsiUtil.java +++ b/compiler/frontend/src/org/jetbrains/kotlin/psi/KtPsiUtil.java @@ -603,7 +603,7 @@ public class KtPsiUtil { /** * CommentUtilCore.isComment fails if element inside comment. * - * Also, we can not add KDocTokens to COMMENTS TokenSet, because it is used in JetParserDefinition.getCommentTokens(), + * Also, we can not add KDocTokens to COMMENTS TokenSet, because it is used in KotlinParserDefinition.getCommentTokens(), * and therefor all COMMENTS tokens will be ignored by PsiBuilder. * * @param element