1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 392932 - ResourceException disabling checker in Codan preferences

This commit is contained in:
Marc-Andre Laperle 2012-11-04 21:51:56 -05:00
parent add4edd847
commit b9e2be2744

View file

@ -168,6 +168,9 @@ public class CodanRunner {
private static void removeMarkersForDisabledProblems(CheckersRegistry chegistry, private static void removeMarkersForDisabledProblems(CheckersRegistry chegistry,
Set<String> markerTypes, IResource resource, IProgressMonitor monitor) throws CoreException { Set<String> markerTypes, IResource resource, IProgressMonitor monitor) throws CoreException {
if (!resource.isAccessible()) {
return;
}
IResource[] children = null; IResource[] children = null;
if (resource instanceof IContainer) { if (resource instanceof IContainer) {
children = ((IContainer) resource).members(); children = ((IContainer) resource).members();