Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-03-02 03:43:05 +0000
committerspingel2011-03-02 03:43:05 +0000
commitfcfc44dd93046f0b81d6300a0836ffca9e664c8b (patch)
treecf4764a3842f289b907058ccd3f842ceba457c44 /org.eclipse.mylyn.tasks.tests/src
parentd51e695c7bf4a837cdf31005773858c478fc2768 (diff)
downloadorg.eclipse.mylyn.tasks-fcfc44dd93046f0b81d6300a0836ffca9e664c8b.tar.gz
org.eclipse.mylyn.tasks-fcfc44dd93046f0b81d6300a0836ffca9e664c8b.tar.xz
org.eclipse.mylyn.tasks-fcfc44dd93046f0b81d6300a0836ffca9e664c8b.zip
NEW - bug 286963: [api] add support for ignoring incoming notification on specified fields
https://bugs.eclipse.org/bugs/show_bug.cgi?id=286963
Diffstat (limited to 'org.eclipse.mylyn.tasks.tests/src')
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/support/MockSynchronizationParticipant.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/support/MockSynchronizationParticipant.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/support/MockSynchronizationParticipant.java
index bc6ff9fe7..15f3dc660 100644
--- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/support/MockSynchronizationParticipant.java
+++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/support/MockSynchronizationParticipant.java
@@ -12,7 +12,6 @@
package org.eclipse.mylyn.tasks.tests.support;
import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.mylyn.tasks.core.data.ITaskAttributeDiff;
import org.eclipse.mylyn.tasks.core.data.ITaskDataDiff;
import org.eclipse.mylyn.tasks.core.sync.SynchronizationParticipant;
@@ -26,12 +25,7 @@ public class MockSynchronizationParticipant extends SynchronizationParticipant {
@Override
public void processUpdate(ITaskDataDiff diff, IProgressMonitor monitor) {
- if (diff.getChangedAttributes().size() == 1) {
- ITaskAttributeDiff attributeDiff = diff.getChangedAttributes().iterator().next();
- if ("version".equals(attributeDiff.getAttributeId())) {
- diff.setHasChanged(false);
- }
- }
+ //System.err.println(diff.getChangedAttributes());
}
}

Back to the top