mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
use equals instead of ==
GitOrigin-RevId: 1a509192bfc83c98522df0234dd611af1aacd92f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
45929596ef
commit
5ad848e379
+1
-1
@@ -12,7 +12,7 @@ public final class JavaHighlightErrorFilter extends HighlightErrorFilter {
|
||||
@Override
|
||||
public boolean shouldHighlightErrorElement(@NotNull PsiErrorElement element) {
|
||||
// todo we should handle it on the platform side
|
||||
if (element.getLanguage() == JavaLanguage.INSTANCE && AppMode.isRemoteDevHost()) {
|
||||
if (element.getLanguage().equals(JavaLanguage.INSTANCE) && AppMode.isRemoteDevHost()) {
|
||||
return false;
|
||||
}
|
||||
return JavaSyntaxErrorChecker.shouldHighlightErrorElement(element);
|
||||
|
||||
Reference in New Issue
Block a user