inspection view: negate logger condition

This commit is contained in:
Dmitry Batkovich
2017-01-20 10:23:52 +03:00
parent 22bdd1aa48
commit 21733f3db7
@@ -52,7 +52,7 @@ public class InspectionNodeInfo extends JPanel {
LOG.assertTrue(toolWrapper != null);
InspectionProfileImpl currentProfile = InspectionProjectProfileManager.getInstance(project).getCurrentProfile();
final ToolsImpl tools = currentProfile.getTools(toolWrapper.getShortName(), project);
LOG.assertTrue(tools == null, "Can't find tools for: " + toolWrapper.getShortName());
LOG.assertTrue(tools != null, "Can't find tools for: " + toolWrapper.getShortName());
boolean enabled = tools.isEnabled();
JPanel titlePanel = new JPanel();