Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraradermache2013-06-11 15:22:38 +0000
committeraradermache2013-06-11 15:22:38 +0000
commit804177c91120f89ebabba71bcbebc0ec2e0145c1 (patch)
tree02110cee52fae01e1aee77c68165dab546f2bc73 /plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/src/org
parent0904bece1bb691cdf1ec3e8a37f79f2ac707df28 (diff)
downloadorg.eclipse.papyrus-804177c91120f89ebabba71bcbebc0ec2e0145c1.tar.gz
org.eclipse.papyrus-804177c91120f89ebabba71bcbebc0ec2e0145c1.tar.xz
org.eclipse.papyrus-804177c91120f89ebabba71bcbebc0ec2e0145c1.zip
fixed typo
Diffstat (limited to 'plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/src/org')
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/src/org/eclipse/papyrus/commands/NotifyingWorkspaceCommandStack.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/src/org/eclipse/papyrus/commands/NotifyingWorkspaceCommandStack.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/src/org/eclipse/papyrus/commands/NotifyingWorkspaceCommandStack.java
index b262a72ee2b..854f1a86d94 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/src/org/eclipse/papyrus/commands/NotifyingWorkspaceCommandStack.java
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.commands/src/org/eclipse/papyrus/commands/NotifyingWorkspaceCommandStack.java
@@ -616,7 +616,7 @@ implements IWorkspaceCommandStack {
// variables "saveIndex" and "top" which is done in BasicCommandStack::execute. However, this operation is overridden
// in method AbstractTransactionalCommandStack::execute which never calls the superclass method BasicCommandStack::execute.
// Thus, we cannot rely on the super class method of isSaveNeeded (although it seems to work in some cases).
- // => so we have to implement the isSaveNeeded method ourselves.
+ // => so we have to implement the isSaveNeeded method here.
IUndoableOperation nextUndoableOperation = history.getUndoOperation(getDefaultUndoContext());
if(nextUndoableOperation == null) {
// this is the last undoable operation. But the document might have been save
@@ -629,7 +629,7 @@ implements IWorkspaceCommandStack {
@Override
public void saveIsDone() {
- // The commend for isSaveNeeded
+ // See comment for isSaveNeeded
if(savedContext != null) {
// The save context is only stored on one operation. We must
// remove it from any other operation that may have contained it

Back to the top