Permalink
Browse files

proper depth

  • Loading branch information...
1 parent d9bc82c commit 2b4555d432b5fed2514c2541a17d5ee790e3725a @JPMoresmau committed Jun 28, 2012
@@ -189,8 +189,8 @@ private static void deleteProblems(IResource r,int depth){
// }
//org.eclipse.core.resources.problemmarker
r.deleteMarkers(PROBLEM_MARKER_ID, true, depth);
- r.deleteMarkers("net.sf.eclipsefp.haskell.scion.client.ScionPlugin.projectProblem", true, IResource.DEPTH_ZERO);
- r.deleteMarkers("net.sf.eclipsefp.haskell.core.scionProblem", true, IResource.DEPTH_ZERO);
+ r.deleteMarkers("net.sf.eclipsefp.haskell.scion.client.ScionPlugin.projectProblem", true, depth);
+ r.deleteMarkers("net.sf.eclipsefp.haskell.core.scionProblem", true,depth );
r.deleteMarkers(IMarker.PROBLEM, false, depth); // delete problems but not subtypes (HLint, etc are not managed by us)
} catch (CoreException ex) {
BuildWrapperPlugin.logError(BWText.error_deleteMarkers, ex);

0 comments on commit 2b4555d

Please sign in to comment.