Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/infra/editor/org.eclipse.papyrus.infra.editor.welcome/src-gen/org/eclipse/papyrus/infra/editor/welcome/internal/impl/WelcomeSectionImpl.java')
-rw-r--r--plugins/infra/editor/org.eclipse.papyrus.infra.editor.welcome/src-gen/org/eclipse/papyrus/infra/editor/welcome/internal/impl/WelcomeSectionImpl.java21
1 files changed, 3 insertions, 18 deletions
diff --git a/plugins/infra/editor/org.eclipse.papyrus.infra.editor.welcome/src-gen/org/eclipse/papyrus/infra/editor/welcome/internal/impl/WelcomeSectionImpl.java b/plugins/infra/editor/org.eclipse.papyrus.infra.editor.welcome/src-gen/org/eclipse/papyrus/infra/editor/welcome/internal/impl/WelcomeSectionImpl.java
index d23781dc937..7dc5fe5a089 100644
--- a/plugins/infra/editor/org.eclipse.papyrus.infra.editor.welcome/src-gen/org/eclipse/papyrus/infra/editor/welcome/internal/impl/WelcomeSectionImpl.java
+++ b/plugins/infra/editor/org.eclipse.papyrus.infra.editor.welcome/src-gen/org/eclipse/papyrus/infra/editor/welcome/internal/impl/WelcomeSectionImpl.java
@@ -38,8 +38,6 @@ import org.eclipse.papyrus.infra.editor.welcome.WelcomeSection;
import org.eclipse.papyrus.infra.editor.welcome.internal.operations.WelcomeSectionOperations;
-import org.eclipse.uml2.common.util.CacheAdapter;
-
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Section</b></em>'.
@@ -119,7 +117,7 @@ public class WelcomeSectionImpl extends MinimalEObjectImpl.Container implements
@Override
public EList<String> getIdentifiers() {
if (identifiers == null) {
- identifiers = new EDataTypeUniqueEList<String>(String.class, this, WelcomePackage.WELCOME_SECTION__IDENTIFIER);
+ identifiers = new EDataTypeUniqueEList<>(String.class, this, WelcomePackage.WELCOME_SECTION__IDENTIFIER);
}
return identifiers;
}
@@ -184,8 +182,7 @@ public class WelcomeSectionImpl extends MinimalEObjectImpl.Container implements
@Override
public void setPage(WelcomePage newPage) {
if (newPage != eInternalContainer() || (eContainerFeatureID() != WelcomePackage.WELCOME_SECTION__PAGE && newPage != null)) {
- if (EcoreUtil.isAncestor(this, newPage))
- {
+ if (EcoreUtil.isAncestor(this, newPage)) {
throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); //$NON-NLS-1$
}
NotificationChain msgs = null;
@@ -374,7 +371,7 @@ public class WelcomeSectionImpl extends MinimalEObjectImpl.Container implements
return super.toString();
}
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (identifier: "); //$NON-NLS-1$
result.append(identifiers);
result.append(", hidden: "); //$NON-NLS-1$
@@ -397,16 +394,4 @@ public class WelcomeSectionImpl extends MinimalEObjectImpl.Container implements
return EcoreUtil.create(eClass);
}
- /**
- * Retrieves the cache adapter for this '<em><b>Section</b></em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return The cache adapter for this '<em><b>Section</b></em>'.
- * @generated
- */
- protected CacheAdapter getCacheAdapter() {
- return CacheAdapter.getCacheAdapter(this);
- }
-
} // WelcomeSectionImpl

Back to the top