|
@@ -278,7 +278,7 @@ public class LeaderElectionSupport implements Watcher {
|
|
|
* Fetch the (user supplied) hostname of the current leader. Note that by the
|
|
|
* time this method returns, state could have changed so do not depend on this
|
|
|
* to be strongly consistent. This method has to read all leader offers from
|
|
|
- * ZooKeeper to deterime who the leader is (i.e. there is no caching) so
|
|
|
+ * ZooKeeper to determine who the leader is (i.e. there is no caching) so
|
|
|
* consider the performance implications of frequent invocation. If there are
|
|
|
* no leader offers this method returns null.
|
|
|
*
|