Commit 5bf1d981 authored by Simon Barner's avatar Simon Barner
Browse files

Fix a warning.

parent ad61161c
......@@ -95,15 +95,11 @@ public class CounterExampleSimulator extends ExecutableComponent<IModelElementSp
* @return the list of subExecutables
* @throws ChainTransformationFailedException
*/
// TODO(VA) Forbidden suppressWarning
@SuppressWarnings("unchecked")
protected static List<ExecutableComponent<?>> createSubExecutables(Component C)
throws ChainTransformationFailedException {
ExecutableComponent<?> execComp = getExecutableComponentFor(C);
// TODO(VA) Inline singletonList
List<?> singletonList = singletonList(execComp);
return (List<ExecutableComponent<?>>)((List<?>)singletonList(execComp));
return singletonList(execComp);
}
/** {@inheritDoc} */
......
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