Commit 5f3955a4 authored by Stefanie Gareis's avatar Stefanie Gareis
Browse files

code cleanings: changing parameter from ComponentArchitectureImpl to...

code cleanings: changing parameter from ComponentArchitectureImpl to ComponentArchitecture (change done by Dan)
parent 2b6dba66
......@@ -35,7 +35,6 @@ import org.fortiss.af3.component.model.Port;
import org.fortiss.af3.component.model.behavior.IComponentBehaviorDefinitionSpecification;
import org.fortiss.af3.component.model.behavior.common.DataStateVariable;
import org.fortiss.af3.component.model.impl.CausalityComponentSpecificationImpl;
import org.fortiss.af3.component.model.impl.ComponentArchitectureImpl;
import org.fortiss.af3.expression.model.DataDictionary;
import org.fortiss.af3.project.model.FileProject;
import org.fortiss.af3.project.model.typesystem.FunctionCallBase;
......@@ -54,7 +53,7 @@ import org.fortiss.tooling.kernel.utils.KernelModelElementUtils;
* @author ratiu
* @author $Author: hoelzl $
* @version $Rev: 18709 $
* @ConQAT.Rating YELLOW Hash: 0C863FFB687032023DF5D5B75D94008F
* @ConQAT.Rating YELLOW Hash: 75ADD39BA2874C4E7634C9647185B6EF
*/
public class ComponentArchitectureUtils {
......@@ -378,8 +377,8 @@ public class ComponentArchitectureUtils {
* the type
* @return the type definition or {@code null} if no data dictionary exists.
*/
public static ITypeDefinition getDefinitionElement(
ComponentArchitectureImpl componentArchitecture, IType type) {
public static ITypeDefinition getDefinitionElement(ComponentArchitecture componentArchitecture,
IType type) {
DataDictionary dict = getRootElement(componentArchitecture, DataDictionary.class);
if(dict != null) {
return dict.getDefinitionElement(type);
......@@ -397,7 +396,7 @@ public class ComponentArchitectureUtils {
* @return the type definition or {@code null} if no data dictionary exists.
*/
public static IFunctionDefinition getDefinitionElement(
ComponentArchitectureImpl componentArchitecture, FunctionCallBase call) {
ComponentArchitecture componentArchitecture, FunctionCallBase call) {
DataDictionary dict =
pickInstanceOf(DataDictionary.class, componentArchitecture.eContainer().eContents());
if(dict != null) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment