Skip to content
GitLab
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
9a65d34e
Commit
9a65d34e
authored
Dec 07, 2017
by
Simon Barner
Browse files
Avoid unneeded cast
refs 2658
parent
fd298c01
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.platform.hierarchic.ui/trunk/src/org/fortiss/af3/schedule/ui/properties/ResourceScheduleAllocationPropertySection.java
View file @
9a65d34e
...
...
@@ -47,14 +47,12 @@ public class ResourceScheduleAllocationPropertySection extends ResourceScheduleP
@Override
protected
List
<
IPlatformResource
>
getValues
(
ResourceSchedule
input
)
{
AllocationTableCollection
atc
=
(
AllocationTableCollection
)
getParentElement
(
input
,
SystemSchedule
.
class
,
true
)
.
getAllocationTableCollection
();
getParentElement
(
input
,
SystemSchedule
.
class
,
true
).
getAllocationTableCollection
();
if
(
atc
==
null
)
{
return
emptyList
();
}
PartitionToHardwareAllocationTable
pa2hw
=
getPartitionToHardwareAllocationTable
(
atc
);
PartitionToHardwareAllocationTable
pa2hw
=
getPartitionToHardwareAllocationTable
(
atc
);
if
(
pa2hw
==
null
)
{
return
emptyList
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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