Skip to content

Commit

Permalink
Replace language with constant
Browse files Browse the repository at this point in the history
  • Loading branch information
zolotov committed Jul 24, 2014
1 parent 792a9bf commit 143198e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package mobi.hsz.idea.gitignore.lang;

import com.intellij.lang.ASTNode;
import com.intellij.lang.Language;
import com.intellij.lang.ParserDefinition;
import com.intellij.lang.PsiParser;
import com.intellij.lexer.Lexer;
Expand All @@ -22,7 +21,7 @@
public class GitignoreParserDefinition implements ParserDefinition {
private static final TokenSet WHITE_SPACES = TokenSet.create(TokenType.WHITE_SPACE);
private static final TokenSet COMMENTS = TokenSet.create(GitignoreTypes.COMMENT);
private static final IFileElementType FILE = new IFileElementType(Language.findInstance(GitignoreLanguage.class));
private static final IFileElementType FILE = new IFileElementType(GitignoreLanguage.INSTANCE);

@NotNull
@Override
Expand Down

0 comments on commit 143198e

Please sign in to comment.