Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EAnnotationReferencesCreateCommand.java2
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EClassESuperTypesCreateCommand.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EAnnotationReferencesCreateCommand.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EAnnotationReferencesCreateCommand.java
index 76a70c5d0..0222693f5 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EAnnotationReferencesCreateCommand.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EAnnotationReferencesCreateCommand.java
@@ -65,7 +65,7 @@ public class EAnnotationReferencesCreateCommand extends EditElementCommand {
if (getTarget() != null) {
getSource().getReferences().add(getTarget());
}
- return CommandResult.newOKCommandResult(getSource());
+ return CommandResult.newOKCommandResult();
}
/**
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EClassESuperTypesCreateCommand.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EClassESuperTypesCreateCommand.java
index fd0fc30b1..6a21ec591 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EClassESuperTypesCreateCommand.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/commands/EClassESuperTypesCreateCommand.java
@@ -65,7 +65,7 @@ public class EClassESuperTypesCreateCommand extends EditElementCommand {
if (getTarget() != null) {
getSource().getESuperTypes().add(getTarget());
}
- return CommandResult.newOKCommandResult(getSource());
+ return CommandResult.newOKCommandResult();
}
/**

Back to the top