Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
16ba2784
Commit
16ba2784
authored
Dec 07, 2016
by
Björn Richerzhagen
Browse files
Fixed NPE due to new 5G-Entry API
parent
65b8e133
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/views/FiveGTopologyView.java
View file @
16ba2784
...
...
@@ -443,6 +443,20 @@ public class FiveGTopologyView extends AbstractTopologyView<CellLink> {
public
void
setLinkData
(
FiveGTopologyDatabase
.
Entry
linkData
,
FiveGTopologyDatabase
.
Entry
apLinkData
)
{
// Initialization
if
(
this
.
linkData
==
null
&&
this
.
apLinkData
==
null
)
{
this
.
linkData
=
linkData
;
this
.
apLinkData
=
apLinkData
;
if
(
apLinkData
!=
null
)
{
apLinkData
.
onHostEntersSegment
(
mobileClient
);
}
else
{
linkData
.
onHostEntersSegment
(
mobileClient
);
}
// For the first update on link creation.
return
;
}
// Update
if
(
apLinkData
!=
null
)
{
assert
supportsAccessPoints
;
if
(
this
.
apLinkData
!=
null
)
{
...
...
Write
Preview
Markdown
is supported
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