diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-02-06 14:19:50 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-02-06 14:19:50 +0100 |
commit | 34366d7ae525d28ef153ad6059779d9cef3952c6 (patch) | |
tree | cb0c8901c5127313da282b261c41c192cd7ba280 /same | |
parent | 39c5171412ceb6b6719344b4e9db0347062d3b84 (diff) |
Fix NullPointerException.
– Set missing field in Master constructor.
Diffstat (limited to 'same')
-rw-r--r-- | same/src/main/java/com/orbekk/same/MasterServiceImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/same/src/main/java/com/orbekk/same/MasterServiceImpl.java b/same/src/main/java/com/orbekk/same/MasterServiceImpl.java index 32a8781..c0df078 100644 --- a/same/src/main/java/com/orbekk/same/MasterServiceImpl.java +++ b/same/src/main/java/com/orbekk/same/MasterServiceImpl.java @@ -28,6 +28,7 @@ public class MasterServiceImpl implements MasterService, Runnable { */ private MasterServiceImpl(State initialState, ConnectionManager connections, Broadcaster broadcaster) { + this.state = initialState; this.connections = connections; this.broadcaster = broadcaster; } |