@@ -40,7 +40,7 @@ public class PusherOptions {
4040 private Authorizer authorizer ;
4141 private Proxy proxy = Proxy .NO_PROXY ;
4242 private int maxReconnectionAttempts = MAX_RECONNECTION_ATTEMPTS ;
43- private int maxReconnectGabInSeconds = MAX_RECONNECT_GAP_IN_SECONDS ;
43+ private int maxReconnectGapInSeconds = MAX_RECONNECT_GAP_IN_SECONDS ;
4444
4545 /**
4646 * Gets whether an encrypted (SSL) connection should be used when connecting
@@ -201,12 +201,12 @@ public PusherOptions setMaxReconnectionAttempts(int maxReconnectionAttempts) {
201201 /**
202202 * The delay in two reconnection extends exponentially (1, 2, 4, .. seconds) This property sets the maximum in between two
203203 * reconnection attempts.
204- * @param maxReconnectGabInSeconds
204+ * @param maxReconnectGapInSeconds
205205 * time in seconds of the maximum gab between two reconnection attempts, default = {@link #MAX_RECONNECT_GAP_IN_SECONDS} 30s
206206 * @return this, for chaining
207207 */
208- public PusherOptions setMaxReconnectGabInSeconds (int maxReconnectGabInSeconds ) {
209- this .maxReconnectGabInSeconds = maxReconnectGabInSeconds ;
208+ public PusherOptions setMaxReconnectGapInSeconds (int maxReconnectGapInSeconds ) {
209+ this .maxReconnectGapInSeconds = maxReconnectGapInSeconds ;
210210 return this ;
211211 }
212212
@@ -260,7 +260,7 @@ public int getMaxReconnectionAttempts() {
260260 * @return the maximum reconnection gap in seconds
261261 */
262262 public int getMaxReconnectGapInSeconds () {
263- return maxReconnectGabInSeconds ;
263+ return maxReconnectGapInSeconds ;
264264 }
265265
266266 private static String readVersionFromProperties () {
0 commit comments