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
a563c995
Commit
a563c995
authored
Jun 17, 2019
by
Julian Zobel
Browse files
Bugfix for empty current attraction points
parent
f082de4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/movement/modularosm/transition/InAreaRoamingTransitionStrategy.java
View file @
a563c995
...
...
@@ -109,7 +109,7 @@ public class InAreaRoamingTransitionStrategy extends AbstractAttractionBasedTran
AttractionPoint
currentAttractionPoint
=
this
.
assignments
.
get
(
comp
);
// if the attraction point was removed in the meantime, go directly to transit state
if
(!
IAttractionGenerator
.
attractionPoints
.
contains
(
currentAttractionPoint
))
{
if
(
currentAttractionPoint
==
null
||
!
IAttractionGenerator
.
attractionPoints
.
contains
(
currentAttractionPoint
))
{
this
.
addComponent
(
comp
);
}
else
{
...
...
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