CURATOR-460 Removing unnecessary empty lines
authorjavando <antonio.rafael.ar@gmail.com>
Thu, 5 Apr 2018 02:17:39 +0000 (23:17 -0300)
committerjavando <antonio.rafael.ar@gmail.com>
Thu, 5 Apr 2018 02:17:39 +0000 (23:17 -0300)
curator-framework/src/main/java/org/apache/curator/framework/state/ConnectionStateManager.java

index 76c5636..609bfa0 100644 (file)
@@ -253,16 +253,13 @@ public class ConnectionStateManager implements Closeable
             {
 
                 long localStartOfSuspendedEpoch;
-
                 synchronized (this) {
                     localStartOfSuspendedEpoch = this.startOfSuspendedEpoch;
                 }
-
                 int lastNegotiatedSessionTimeoutMs = client.getZookeeperClient().getLastNegotiatedSessionTimeoutMs();
                 int useSessionTimeoutMs = (lastNegotiatedSessionTimeoutMs > 0) ? lastNegotiatedSessionTimeoutMs : sessionTimeoutMs;
                 useSessionTimeoutMs = sessionExpirationPercent > 0 && localStartOfSuspendedEpoch != 0 ? (useSessionTimeoutMs * sessionExpirationPercent) / 100 : useSessionTimeoutMs;
                 long elapsedMs = localStartOfSuspendedEpoch == 0 ? useSessionTimeoutMs / 2 : System.currentTimeMillis() - localStartOfSuspendedEpoch;
-
                 long pollMaxMs = useSessionTimeoutMs - elapsedMs;
 
                 final ConnectionState newState = eventQueue.poll(pollMaxMs, TimeUnit.MILLISECONDS);