mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use current inspection profile to get severity registrar
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ public class SeverityRegistrar implements Comparator<HighlightSeverity> {
|
||||
public static SeverityRegistrar getSeverityRegistrar(@Nullable Project project) {
|
||||
return project == null
|
||||
? InspectionProfileManager.getInstance().getSeverityRegistrar()
|
||||
: InspectionProfileManager.getInstance(project).getSeverityRegistrar();
|
||||
: InspectionProfileManager.getInstance(project).getCurrentProfile().getProfileManager().getSeverityRegistrar();
|
||||
}
|
||||
|
||||
public void registerSeverity(@NotNull SeverityBasedTextAttributes info, Color renderColor) {
|
||||
|
||||
Reference in New Issue
Block a user