Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2014-02-06 04:32:36 -0500
committervlorenzo2014-02-06 04:32:36 -0500
commitc4cb44ab3af3362771331b5a3dd510a45dbc041e (patch)
tree5f112d9a47bb36fb21d78c2c144f2e536fe7c365 /extraplugins
parent3d1f1f7e8dc12e4c27ef2d2c243a1473e8185d61 (diff)
downloadorg.eclipse.papyrus-c4cb44ab3af3362771331b5a3dd510a45dbc041e.tar.gz
org.eclipse.papyrus-c4cb44ab3af3362771331b5a3dd510a45dbc041e.tar.xz
org.eclipse.papyrus-c4cb44ab3af3362771331b5a3dd510a45dbc041e.zip
Fix some bugs (bundle tests+others)
Diffstat (limited to 'extraplugins')
-rw-r--r--extraplugins/table/org.eclipse.papyrus.infra.nattable.views.config/src/org/eclipse/papyrus/infra/nattable/views/config/manager/axis/EditorContextSynchronizerAxisManager.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/extraplugins/table/org.eclipse.papyrus.infra.nattable.views.config/src/org/eclipse/papyrus/infra/nattable/views/config/manager/axis/EditorContextSynchronizerAxisManager.java b/extraplugins/table/org.eclipse.papyrus.infra.nattable.views.config/src/org/eclipse/papyrus/infra/nattable/views/config/manager/axis/EditorContextSynchronizerAxisManager.java
index 36f3c34f008..ab2952144d6 100644
--- a/extraplugins/table/org.eclipse.papyrus.infra.nattable.views.config/src/org/eclipse/papyrus/infra/nattable/views/config/manager/axis/EditorContextSynchronizerAxisManager.java
+++ b/extraplugins/table/org.eclipse.papyrus.infra.nattable.views.config/src/org/eclipse/papyrus/infra/nattable/views/config/manager/axis/EditorContextSynchronizerAxisManager.java
@@ -229,7 +229,7 @@ public class EditorContextSynchronizerAxisManager extends AbstractSynchronizedOn
case Notification.REMOVE:
Object oldValue = notification.getOldValue();
if(oldValue instanceof PageRef) {
- newValue = ((PageRef)oldValue).getPageIdentifier();
+ oldValue = ((PageRef)oldValue).getPageIdentifier();
}
if(this.managedObject.contains(oldValue)) {
toRemove.add(oldValue);
@@ -239,9 +239,9 @@ public class EditorContextSynchronizerAxisManager extends AbstractSynchronizedOn
Collection<?> oldValues = (Collection<?>)notification.getOldValue();
for(Object current : oldValues) {
if(current instanceof PageRef) {
- newValue = ((PageRef)current).getPageIdentifier();
+ current = ((PageRef)current).getPageIdentifier();
}
- if(this.managedObject.contains(oldValues)) {
+ if(this.managedObject.contains(current)) {
toRemove.add(current);
}
}

Back to the top