Skip to content

Commit b04cf94

Browse files
author
Quintin Willison
committed
Convert tabs to spaces where they appear in the middle of a line in java files.
1 parent 3745b92 commit b04cf94

6 files changed

Lines changed: 13 additions & 13 deletions

File tree

lib/src/main/java/io/ably/lib/http/HttpPaginatedQuery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ private HttpPaginatedResponse execRel(String linkUrl) throws AblyException {
132132
@Override
133133
public boolean isLast() {
134134
return relNext == null;
135-
}
135+
}
136136
}
137137

138138
static final HttpCore.BodyHandler<JsonElement> jsonArrayResponseHandler = new HttpCore.BodyHandler<JsonElement>() {

lib/src/main/java/io/ably/lib/realtime/Presence.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ private class PresenceMap {
785785
* state other than attached or attaching
786786
*/
787787
synchronized void waitForSync() throws AblyException, InterruptedException {
788-
boolean syncIsComplete = false; /* temporary variable to avoid potential race conditions */
788+
boolean syncIsComplete = false; /* temporary variable to avoid potential race conditions */
789789
while((channel.state == ChannelState.attached || channel.state == ChannelState.attaching) &&
790790
/* = (and not ==) is intentional */
791791
!(syncIsComplete = (!syncInProgress && syncComplete)))

lib/src/main/java/io/ably/lib/rest/Auth.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -768,12 +768,12 @@ else if(!request.keyName.equals(keyName))
768768
request.nonce = random();
769769

770770
String signText
771-
= request.keyName + '\n'
772-
+ ttlText + '\n'
773-
+ capabilityText + '\n'
774-
+ clientIdText + '\n'
775-
+ request.timestamp + '\n'
776-
+ request.nonce + '\n';
771+
= request.keyName + '\n'
772+
+ ttlText + '\n'
773+
+ capabilityText + '\n'
774+
+ clientIdText + '\n'
775+
+ request.timestamp + '\n'
776+
+ request.nonce + '\n';
777777

778778
request.mac = hmac(signText, keySecret);
779779

lib/src/main/java/io/ably/lib/transport/ConnectionManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,8 +1564,8 @@ public synchronized void nack(long serial, int count, ErrorInfo reason) {
15641564
* reset the pending message queue, failing any currently pending messages.
15651565
* Used when a resume fails and we get a different connection id.
15661566
* @param oldMsgSerial the next message serial number for the old
1567-
* connection, and thus one more than the highest message serial
1568-
* in the queue.
1567+
* connection, and thus one more than the highest message serial
1568+
* in the queue.
15691569
*/
15701570
public synchronized void reset(long oldMsgSerial, ErrorInfo err) {
15711571
nack(startSerial, (int)(oldMsgSerial - startSerial), err);

lib/src/main/java/io/ably/lib/transport/Defaults.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class Defaults {
2929
/* Timeouts */
3030
public static int TIMEOUT_CONNECT = 15000;
3131
public static int TIMEOUT_DISCONNECT = 15000;
32-
public static int TIMEOUT_CHANNEL_RETRY = 15000;
32+
public static int TIMEOUT_CHANNEL_RETRY = 15000;
3333

3434
/* TO313 */
3535
public static int TIMEOUT_HTTP_OPEN = 4000;

lib/src/main/java/io/ably/lib/transport/WebSocketTransport.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ public String getURL() {
329329
private static final int GOING_AWAY = 1001;
330330
private static final int CLOSE_PROTOCOL_ERROR = 1002;
331331
private static final int REFUSE = 1003;
332-
/* private static final int UNUSED = 1004; */
333-
/* private static final int NOCODE = 1005; */
332+
/* private static final int UNUSED = 1004; */
333+
/* private static final int NOCODE = 1005; */
334334
private static final int ABNORMAL_CLOSE = 1006;
335335
private static final int NO_UTF8 = 1007;
336336
private static final int POLICY_VALIDATION = 1008;

0 commit comments

Comments
 (0)