Commit 7446c2ca authored by Chris Gioran's avatar Chris Gioran
Browse files

Made field final, ensure the published object has that field initialized to avoid NPEs

parent 5a3551a1
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -58,7 +58,7 @@ public class ZooClient extends AbstractZooKeeperManager
static final String MASTER_NOTIFY_CHILD = "master-notify";
static final String MASTER_REBOUND_CHILD = "master-rebound";
private ZooKeeper zooKeeper;
private final ZooKeeper zooKeeper;
private final int machineId;
private String sequenceNr;
......
Supports Markdown
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