fix stupid flipped boolean mistake

This commit is contained in:
Bas Leijdekkers
2013-10-27 19:30:51 +01:00
parent 4896b5e854
commit 727f0e41d1
@@ -201,7 +201,7 @@ public abstract class GlobalInspectionTool extends InspectionProfileEntry {
* In some cases we can do highlighting in annotator or high. visitor based on global inspection or use a shared local inspection tool
*/
public boolean worksInBatchModeOnly() {
return getSharedLocalInspectionTool() != null;
return getSharedLocalInspectionTool() == null;
}
/**