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
c78a99b7
Commit
c78a99b7
authored
Oct 23, 2014
by
Björn Richerzhagen
Browse files
Removed an assertion that prevents multiple transport listeners
parent
f2eaca56
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/transport/modular/ModularTransLayer.java
View file @
c78a99b7
...
...
@@ -543,8 +543,6 @@ public class ModularTransLayer implements SimHostComponent, TransportComponent,
public
void
addListener
(
TransMessageListener
listener
)
{
if
(!
transListeners
.
contains
(
listener
))
{
// just checking, if multiple happens at all
assert
transListeners
.
isEmpty
();
transListeners
.
add
(
listener
);
}
}
...
...
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