Github user lvfangmin commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/628#discussion_r219312586
--- Diff:
src/java/main/org/apache/zookeeper/server/quorum/FollowerZooKeeperServer.java
---
@@ -113,13 +116,17 @@ public void commit(long zxid) {
}
synchronized public void sync(){
- if(pendingSyncs.size() ==0){
+ if(pendingSyncs.size() == 0){
--- End diff --
format here as well.---
