mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
inspection profile: no need to initialize on write when tool was not initialized (=had default settings on read)
This commit is contained in:
@@ -313,7 +313,7 @@ public class InspectionProfileTest extends LightIdeaTestCase {
|
||||
assertEquals(0, countInitializedTools(profile));
|
||||
profile.writeExternal(new Element("profile"));
|
||||
List<InspectionToolWrapper> initializedTools = getInitializedTools(profile);
|
||||
if (initializedTools.size() != 1) {
|
||||
if (initializedTools.size() > 0) {
|
||||
for (InspectionToolWrapper initializedTool : initializedTools) {
|
||||
System.out.println(initializedTool.getShortName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user