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
0222f08d
Commit
0222f08d
authored
Feb 17, 2016
by
Björn Richerzhagen
Browse files
Fixed LocationRequest-Handling
parent
ffbd3e06
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/DefaultTopologyComponent.java
View file @
0222f08d
...
...
@@ -341,11 +341,9 @@ public class DefaultTopologyComponent implements TopologyComponent {
}
};
/*
* Start somewhere within the interval, and from then on, update
* periodically.
* Fire once immediately, from then on periodically
*/
op
.
scheduleWithDelay
((
long
)
Randoms
.
getRandom
(
LocationRequest
.
class
).
nextDouble
()
*
interval
);
op
.
scheduleImmediately
();
}
@Override
...
...
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