summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2013-06-18 16:50:32 (EDT)
committerGerrit Code Review @ Eclipse.org2013-06-19 13:25:33 (EDT)
commit1580ce12abcb0ee64f9e055bf1c0fcb1adb29acd (patch)
tree0182d4c84491340071fe8d745aef8388c4474768
parent376dae4330d84b7d28a26d1b9e93e16ba6cb5206 (diff)
downloadorg.eclipse.mylyn.reviews-1580ce12abcb0ee64f9e055bf1c0fcb1adb29acd.zip
org.eclipse.mylyn.reviews-1580ce12abcb0ee64f9e055bf1c0fcb1adb29acd.tar.gz
org.eclipse.mylyn.reviews-1580ce12abcb0ee64f9e055bf1c0fcb1adb29acd.tar.bz2
fix dead stores rather than field with same name in RemoteEmfConsumerrefs/changes/86/13886/2
-rw-r--r--org.eclipse.mylyn.reviews.core/src/org/eclipse/mylyn/reviews/core/spi/remote/emf/RemoteEmfConsumer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.reviews.core/src/org/eclipse/mylyn/reviews/core/spi/remote/emf/RemoteEmfConsumer.java b/org.eclipse.mylyn.reviews.core/src/org/eclipse/mylyn/reviews/core/spi/remote/emf/RemoteEmfConsumer.java
index eef638f..e3dd563 100644
--- a/org.eclipse.mylyn.reviews.core/src/org/eclipse/mylyn/reviews/core/spi/remote/emf/RemoteEmfConsumer.java
+++ b/org.eclipse.mylyn.reviews.core/src/org/eclipse/mylyn/reviews/core/spi/remote/emf/RemoteEmfConsumer.java
@@ -115,10 +115,10 @@ public class RemoteEmfConsumer<EParentObjectType extends EObject, EObjectType, L
this.localKey = localKey;
this.factory = factory;
if (remoteKey == null && remoteObject != null) {
- remoteKey = factory.getRemoteKey(remoteObject);
+ this.remoteKey = factory.getRemoteKey(remoteObject);
}
if (localKey == null && modelObject != null) {
- localKey = factory.getLocalKey(null, modelObject);
+ this.localKey = factory.getLocalKey(null, modelObject);
}
if (modelObject instanceof EObject) {
((EObject) modelObject).eAdapters().add(adapter);