diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-01-16 13:48:50 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-01-16 13:48:50 +0100 |
commit | 6dfa7d41a075cdfef29d73982012de42bdfc446b (patch) | |
tree | 414d2080bb6a3e620cdc96e965c493b692e684f7 /same/src/main/java/com | |
parent | 3c798bcdad4a6eef767a736c541115d9b5129478 (diff) |
Fix failing test.
Uses test component to avoid NullPointerException.
Diffstat (limited to 'same/src/main/java/com')
-rw-r--r-- | same/src/main/java/com/orbekk/same/MasterServiceImpl.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/same/src/main/java/com/orbekk/same/MasterServiceImpl.java b/same/src/main/java/com/orbekk/same/MasterServiceImpl.java index 6093fa4..3731542 100644 --- a/same/src/main/java/com/orbekk/same/MasterServiceImpl.java +++ b/same/src/main/java/com/orbekk/same/MasterServiceImpl.java @@ -43,7 +43,6 @@ public class MasterServiceImpl implements MasterService, UrlReceiver, Runnable { boolean worked = false; for (final String component : state.getAndClearUpdatedComponents()) { logger.info("Broadcasting new component {}", state.show(component)); - broadcaster.broadcast(participants(), new ServiceOperation() { @Override public void run(ClientService client) { client.setState(component, state.getDataOf(component), |