summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMelanie Bats2013-08-12 05:19:47 (EDT)
committerAlex Lagarde2013-08-12 08:36:08 (EDT)
commitb3dd7b02187ec18988fdb6a2b1020c0c0faa853d (patch)
tree0d2e11bf0de428c74106a14276fa8963eed9fd09
parent8abe1c3409d9f58a3112d5fe32669775efd17ef5 (diff)
downloadorg.eclipse.mylyn.docs.intent.main-b3dd7b02187ec18988fdb6a2b1020c0c0faa853d.zip
org.eclipse.mylyn.docs.intent.main-b3dd7b02187ec18988fdb6a2b1020c0c0faa853d.tar.gz
org.eclipse.mylyn.docs.intent.main-b3dd7b02187ec18988fdb6a2b1020c0c0faa853d.tar.bz2
[bugzilla 413931] Fix an issue in the generated element delta visitor
Signed-off-by: Melanie Bats <melanie.bats@obeo.fr>
-rw-r--r--plugins/org.eclipse.mylyn.docs.intent.client.ui.ide/src/org/eclipse/mylyn/docs/intent/client/ui/ide/generatedelementlistener/IDEGeneratedElementListenerDeltaVisitor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.mylyn.docs.intent.client.ui.ide/src/org/eclipse/mylyn/docs/intent/client/ui/ide/generatedelementlistener/IDEGeneratedElementListenerDeltaVisitor.java b/plugins/org.eclipse.mylyn.docs.intent.client.ui.ide/src/org/eclipse/mylyn/docs/intent/client/ui/ide/generatedelementlistener/IDEGeneratedElementListenerDeltaVisitor.java
index 1a38ff6..1430747 100644
--- a/plugins/org.eclipse.mylyn.docs.intent.client.ui.ide/src/org/eclipse/mylyn/docs/intent/client/ui/ide/generatedelementlistener/IDEGeneratedElementListenerDeltaVisitor.java
+++ b/plugins/org.eclipse.mylyn.docs.intent.client.ui.ide/src/org/eclipse/mylyn/docs/intent/client/ui/ide/generatedelementlistener/IDEGeneratedElementListenerDeltaVisitor.java
@@ -102,7 +102,7 @@ public class IDEGeneratedElementListenerDeltaVisitor implements IResourceDeltaVi
boolean isRelevantModification = (delta.getKind() == IResourceDelta.REMOVED)
|| (delta.getKind() == IResourceDelta.CHANGED) || delta.getKind() == IResourceDelta.ADDED;
// The we ensure that this delta isn't a touch or a marker modification
- isRelevantModification = isRelevantModification && ((delta.getFlags() & IResourceDelta.MARKERS) == 0);
+ isRelevantModification = isRelevantModification && (delta.getFlags() != IResourceDelta.MARKERS);
return isRelevantModification;
}