Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/OneTimeSetupTaskImpl.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/OneTimeSetupTaskImpl.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/OneTimeSetupTaskImpl.java b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/OneTimeSetupTaskImpl.java
index 1b6f14c9fc..85c24d9164 100644
--- a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/OneTimeSetupTaskImpl.java
+++ b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/OneTimeSetupTaskImpl.java
@@ -89,7 +89,9 @@ public abstract class OneTimeSetupTaskImpl extends SetupTaskImpl implements OneT
String oldId = id;
id = newId;
if (eNotificationRequired())
+ {
eNotify(new ENotificationImpl(this, Notification.SET, SetupPackage.ONE_TIME_SETUP_TASK__ID, oldId, id));
+ }
}
/**
@@ -167,7 +169,9 @@ public abstract class OneTimeSetupTaskImpl extends SetupTaskImpl implements OneT
public String toString()
{
if (eIsProxy())
+ {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (id: ");
@@ -189,8 +193,9 @@ public abstract class OneTimeSetupTaskImpl extends SetupTaskImpl implements OneT
protected abstract void doPerform(SetupTaskContext context) throws Exception;
- private int xxx;
-
+ /**
+ * TODO Use a persistent mechansim
+ */
private static final Set<String> PERFORMED = new HashSet<String>();
protected boolean isPerformed()

Back to the top