Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-09-17 16:38:39 +0000
committerEike Stepper2010-09-17 16:38:39 +0000
commitc3492c3a31c5716f9022d7e245314b24beee88de (patch)
tree57c86dfca546dd7ddaa3dc2e0dec5936b8d85c3e
parent8b1aaae49b089b0193fa57afa8d940b26a3813e9 (diff)
downloadcdo-c3492c3a31c5716f9022d7e245314b24beee88de.tar.gz
cdo-c3492c3a31c5716f9022d7e245314b24beee88de.tar.xz
cdo-c3492c3a31c5716f9022d7e245314b24beee88de.zip
[314186] Mismatch between CDO_RESOURCE__RESOURCE_SET and RESOURCE__RESOURCE_SET
https://bugs.eclipse.org/bugs/show_bug.cgi?id=314186
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_314186_Test.java20
1 files changed, 3 insertions, 17 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_314186_Test.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_314186_Test.java
index f16c7f42d2..9544647e54 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_314186_Test.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_314186_Test.java
@@ -17,9 +17,8 @@ import org.eclipse.emf.cdo.tests.AbstractCDOTest;
import org.eclipse.emf.cdo.tests.mango.MangoValue;
import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.common.notify.impl.AdapterImpl;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
@@ -37,12 +36,9 @@ public class Bugzilla_314186_Test extends AbstractCDOTest
CDOTransaction transaction = session.openTransaction(resourceSet);
CDOResource resource = transaction.createResource("/resource");
- resource.eAdapters().add(new Adapter()
+ resource.eAdapters().add(new AdapterImpl()
{
- public void setTarget(Notifier newTarget)
- {
- }
-
+ @Override
public void notifyChanged(Notification notification)
{
if (notification.getFeature() != null
@@ -51,16 +47,6 @@ public class Bugzilla_314186_Test extends AbstractCDOTest
assertEquals(Resource.RESOURCE__RESOURCE_SET, notification.getFeatureID(Resource.class));
}
}
-
- public boolean isAdapterForType(Object type)
- {
- return false;
- }
-
- public Notifier getTarget()
- {
- return null;
- }
});
MangoValue mangoValue = getMangoFactory().createMangoValue();

Back to the top