mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
inspection toolwindow: do not create new profile an each run
This commit is contained in:
+1
-1
@@ -327,7 +327,7 @@ public class GlobalInspectionContextBase extends UserDataHolderBase implements G
|
||||
|
||||
@NotNull
|
||||
protected List<Tools> getUsedTools() {
|
||||
InspectionProfileImpl profile = new InspectionProfileImpl((InspectionProfileImpl)getCurrentProfile());
|
||||
InspectionProfileImpl profile = (InspectionProfileImpl)getCurrentProfile();
|
||||
List<Tools> tools = profile.getAllEnabledInspectionTools(myProject);
|
||||
Set<InspectionToolWrapper> dependentTools = new LinkedHashSet<InspectionToolWrapper>();
|
||||
for (Tools tool : tools) {
|
||||
|
||||
Reference in New Issue
Block a user