Commit c78a99b7 authored by Björn Richerzhagen's avatar Björn Richerzhagen
Browse files

Removed an assertion that prevents multiple transport listeners

parent f2eaca56
......@@ -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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment