Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2004-05-12 16:14:29 +0000
committerJean Michel-Lemieux2004-05-12 16:14:29 +0000
commitc53c4732d2975910edf6d256546218b0ec2ca810 (patch)
tree8f32c19e04828de30615c7e5204ac2e02b331819
parentd0a8c2d3a778a2d5bac747591551956855609d37 (diff)
downloadeclipse.platform.team-c53c4732d2975910edf6d256546218b0ec2ca810.tar.gz
eclipse.platform.team-c53c4732d2975910edf6d256546218b0ec2ca810.tar.xz
eclipse.platform.team-c53c4732d2975910edf6d256546218b0ec2ca810.zip
Ensure we check for the problem marker only
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeModelProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeModelProvider.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeModelProvider.java
index 64630ec02..44f96c7d4 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeModelProvider.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeModelProvider.java
@@ -49,7 +49,7 @@ import org.eclipse.ui.progress.WorkbenchJob;
*/
public abstract class SynchronizeModelProvider implements ISyncInfoSetChangeListener, ISynchronizeModelProvider, IResourceChangeListener {
- private static boolean DEBUG = false;
+ private static boolean DEBUG = true;
// Flags to indicate if tree control should be updated while building the model.
private boolean refreshViewer;
@@ -688,7 +688,7 @@ public abstract class SynchronizeModelProvider implements ISyncInfoSetChangeList
// Accumulate all distinct resources that have had problem marker
// changes
for (int idx = 0; idx < markerTypes.length; idx++) {
- IMarkerDelta[] markerDeltas = event.findMarkerDeltas(null, true);
+ IMarkerDelta[] markerDeltas = event.findMarkerDeltas(markerTypes[idx], true);
for (int i = 0; i < markerDeltas.length; i++) {
IMarkerDelta delta = markerDeltas[i];
int kind = delta.getKind();

Back to the top