summaryrefslogtreecommitdiff
path: root/same/src/main/java/com/orbekk
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-16 13:48:50 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-16 13:48:50 +0100
commit6dfa7d41a075cdfef29d73982012de42bdfc446b (patch)
tree414d2080bb6a3e620cdc96e965c493b692e684f7 /same/src/main/java/com/orbekk
parent3c798bcdad4a6eef767a736c541115d9b5129478 (diff)
Fix failing test.
Uses test component to avoid NullPointerException.
Diffstat (limited to 'same/src/main/java/com/orbekk')
-rw-r--r--same/src/main/java/com/orbekk/same/MasterServiceImpl.java1
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),