mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
LexerTestCase: add missing @NotNull annotations to improve interoperability with Kotlin
GitOrigin-RevId: e98b6523585f4659687abca687c8b42618dfd8bc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7616e0109a
commit
1d3e210cc4
@@ -3,6 +3,7 @@ package org.intellij.lang.regexp;
|
||||
|
||||
import com.intellij.lexer.Lexer;
|
||||
import com.intellij.testFramework.LexerTestCase;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.EnumSet;
|
||||
@@ -860,12 +861,12 @@ public class RegExpLexerTest extends LexerTestCase {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Lexer createLexer() {
|
||||
protected @NotNull Lexer createLexer() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getDirPath() {
|
||||
protected @NotNull String getDirPath() {
|
||||
if (new File(getHomePath(), "community/RegExpSupport").isDirectory()) {
|
||||
return "/community/RegExpSupport/testData/lexer";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user