zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject [zookeeper] branch master updated: Remove an invalid non ASCII encoded char from comment of LearnerSyncThrottler.
Date Wed, 21 Aug 2019 20:03:39 GMT
This is an automated email from the ASF dual-hosted git repository.

hanm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new dec6ac7  Remove an invalid non ASCII encoded char from comment of LearnerSyncThrottler.
dec6ac7 is described below

commit dec6ac782b12a80169fbff9093949e477e5075f0
Author: Michael Han <hanm@apache.org>
AuthorDate: Wed Aug 21 13:03:12 2019 -0700

    Remove an invalid non ASCII encoded char from comment of LearnerSyncThrottler.
    
    The char is non ASCII encoded (so potentially it could break builds where encoding was
not set as UTF8), and it is clearly redudant (as semantically
    there should be no chars between 'or' and 'from', in this case.
    
    Remove the char fixes both.
---
 .../java/org/apache/zookeeper/server/quorum/LearnerSyncThrottler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/LearnerSyncThrottler.java
b/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/LearnerSyncThrottler.java
index 6f844dc..8b5de6a 100644
--- a/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/LearnerSyncThrottler.java
+++ b/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/LearnerSyncThrottler.java
@@ -23,7 +23,7 @@ import org.slf4j.LoggerFactory;
 
 /**
  * Utility class to limit the number of concurrent syncs from a leader to
- * observers and followers orß from a follower to observers.  {@link LearnerHandler}
+ * observers and followers or from a follower to observers.  {@link LearnerHandler}
  * objects should call {@link #beginSync(boolean)} before sending a sync and
  * {@link #endSync()} after finishing, successfully or not.
  *


Mime
View raw message