Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-12-02 05:04:16 +0000
committerEike Stepper2012-12-02 05:04:16 +0000
commit8dc99f641248f39a76ad114cd020ec7bb0fd5285 (patch)
treed42a815fae1b7efb498632549663161a66c280ce
parent0aead978438cfdd2b69fcfebc2598932d87a8f6b (diff)
downloadcdo-8dc99f641248f39a76ad114cd020ec7bb0fd5285.tar.gz
cdo-8dc99f641248f39a76ad114cd020ec7bb0fd5285.tar.xz
cdo-8dc99f641248f39a76ad114cd020ec7bb0fd5285.zip
[376620] IllegalStateException on
CDODeltaNotification.getNewBooleanValue() https://bugs.eclipse.org/bugs/show_bug.cgi?id=376620
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDODeltaNotificationImpl.java24
1 files changed, 16 insertions, 8 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDODeltaNotificationImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDODeltaNotificationImpl.java
index 2fa9c66a3e..b79c7f446a 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDODeltaNotificationImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDODeltaNotificationImpl.java
@@ -50,49 +50,57 @@ public class CDODeltaNotificationImpl extends ENotificationImpl implements CDODe
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature,
boolean oldBooleanValue, boolean newBooleanValue)
{
- super(getEObject(notifier), eventType, feature, oldBooleanValue, newBooleanValue);
+ super(getEObject(notifier), eventType, feature.getFeatureID(), oldBooleanValue, newBooleanValue);
+ this.feature = feature;
}
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature,
byte oldByteValue, byte newByteValue)
{
- super(getEObject(notifier), eventType, feature, oldByteValue, newByteValue);
+ super(getEObject(notifier), eventType, feature.getFeatureID(), oldByteValue, newByteValue);
+ this.feature = feature;
}
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature,
char oldCharValue, char newCharValue)
{
- super(getEObject(notifier), eventType, feature, oldCharValue, newCharValue);
+ super(getEObject(notifier), eventType, feature.getFeatureID(), oldCharValue, newCharValue);
+ this.feature = feature;
}
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature,
double oldDoubleValue, double newDoubleValue)
{
- super(getEObject(notifier), eventType, feature, oldDoubleValue, newDoubleValue);
+ super(getEObject(notifier), eventType, feature.getFeatureID(), oldDoubleValue, newDoubleValue);
+ this.feature = feature;
}
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature,
float oldFloatValue, float newFloatValue)
{
- super(getEObject(notifier), eventType, feature, oldFloatValue, newFloatValue);
+ super(getEObject(notifier), eventType, feature.getFeatureID(), oldFloatValue, newFloatValue);
+ this.feature = feature;
}
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature, int oldIntValue,
int newIntValue)
{
- super(getEObject(notifier), eventType, feature, oldIntValue, newIntValue);
+ super(getEObject(notifier), eventType, feature.getFeatureID(), oldIntValue, newIntValue);
+ this.feature = feature;
}
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature,
long oldLongValue, long newLongValue)
{
- super(getEObject(notifier), eventType, feature, oldLongValue, newLongValue);
+ super(getEObject(notifier), eventType, feature.getFeatureID(), oldLongValue, newLongValue);
+ this.feature = feature;
}
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature,
short oldShortValue, short newShortValue)
{
- super(getEObject(notifier), eventType, feature, oldShortValue, newShortValue);
+ super(getEObject(notifier), eventType, feature.getFeatureID(), oldShortValue, newShortValue);
+ this.feature = feature;
}
@Override

Back to the top