Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/issue/classpath-validator-3-1000…
Browse files Browse the repository at this point in the history
…631'
  • Loading branch information
Luc Bourlier committed Nov 1, 2011
2 parents 68c262b + 3b55904 commit 14024b8
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -367,6 +367,7 @@ class ScalaProject(val underlying: IProject) extends HasLogger {
// the classpath change notification
val markerJob= new Job("Update classpath error marker") {
override def run(monitor: IProgressMonitor): IStatus = {
if (underlying.isOpen()) { // cannot change markers on closed project
// clean the markers
underlying.deleteMarkers(plugin.problemMarkerId, false, IResource.DEPTH_ZERO)

Expand All @@ -378,7 +379,8 @@ class ScalaProject(val underlying: IProject) extends HasLogger {
marker.setAttribute(IMarker.SEVERITY, severity)
case _ =>
}
Status.OK_STATUS
}
Status.OK_STATUS
}
}
markerJob.setRule(underlying)
Expand Down

0 comments on commit 14024b8

Please sign in to comment.