Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
5bf1d981
Commit
5bf1d981
authored
Dec 06, 2017
by
Simon Barner
Browse files
Fix a warning.
parent
ad61161c
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.specification/trunk/src/org/fortiss/af3/specification/modelchecking/af3tonusmv/CounterExampleSimulator.java
View file @
5bf1d981
...
...
@@ -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} */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment