OPENIDE fix review code analysis

This commit is contained in:
Nikita Iarychenko
2026-09-21 18:26:50 +04:00
parent 3e26f66ede
commit 270604bd2d
@@ -1,4 +1,7 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
//
// Modified by Nikita Iarychenko at 2026 as part of the OpenIDE project(https://openide.ru).
// Any modifications are available on the same license terms as the original source code.
package com.intellij.openapi.vcs.impl;
import com.intellij.codeInsight.CodeSmellInfo;
@@ -8,6 +11,7 @@ import com.intellij.codeInsight.daemon.impl.HighlightInfoType;
import com.intellij.codeInsight.daemon.impl.MainPassesRunner;
import com.intellij.codeInsight.daemon.impl.SeverityRegistrar;
import com.intellij.codeInspection.InspectionProfile;
import com.intellij.idea.AppMode;
import com.intellij.ide.errorTreeView.NewErrorTreeViewPanel;
import com.intellij.lang.annotation.HighlightSeverity;
import com.intellij.openapi.application.ApplicationManager;
@@ -68,7 +72,7 @@ public class CodeSmellDetectorImpl extends CodeSmellDetector {
@Override
public void showCodeSmellErrors(@NotNull @Unmodifiable List<? extends CodeSmellInfo> smellList) {
if (isSplitProblemsViewKeyEnabled()) { // rem-dev implementation
if (isSplitProblemsViewKeyEnabled() && !AppMode.isMonolith()) { // rem-dev implementation
showCodeSmellErrorsInFrontend(smellList, myProject);
return;
}