Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.validation/src/org/eclipse/papyrus/qompass/designer/validation/constraints/ExecutorIsNotUsedAsPartName.java')
-rw-r--r--extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.validation/src/org/eclipse/papyrus/qompass/designer/validation/constraints/ExecutorIsNotUsedAsPartName.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.validation/src/org/eclipse/papyrus/qompass/designer/validation/constraints/ExecutorIsNotUsedAsPartName.java b/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.validation/src/org/eclipse/papyrus/qompass/designer/validation/constraints/ExecutorIsNotUsedAsPartName.java
index 17bb7c7e16a..9503db14c98 100644
--- a/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.validation/src/org/eclipse/papyrus/qompass/designer/validation/constraints/ExecutorIsNotUsedAsPartName.java
+++ b/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.validation/src/org/eclipse/papyrus/qompass/designer/validation/constraints/ExecutorIsNotUsedAsPartName.java
@@ -1,14 +1,14 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Ansgar Radermacher ansgar.radermacher@cea.fr
+ * Ansgar Radermacher ansgar.radermacher@cea.fr
*
*****************************************************************************/
@@ -25,7 +25,7 @@ import org.eclipse.uml2.uml.Property;
/**
* Check whether an attribute used the name that is reserved for executors within a container
- *
+ *
*
*/
public class ExecutorIsNotUsedAsPartName extends AbstractModelConstraint
@@ -37,9 +37,9 @@ public class ExecutorIsNotUsedAsPartName extends AbstractModelConstraint
if (StereotypeUtil.isApplied(class_, RuleApplication.class)) {
// limit check to classes applying a container rule.
- for (Property attribute : class_.getOwnedAttributes ()) {
+ for (Property attribute : class_.getOwnedAttributes()) {
if (attribute.getName().equals(ContainerTrafo.executorPartName)) {
- return ctx.createFailureStatus ("A property may not use the reserved name \"_executor\"");
+ return ctx.createFailureStatus("A property may not use the reserved name \"_executor\"");
}
}
}

Back to the top