From 0c4c518c5642270b85eb585a5fafbef7032eef7d Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 21 Sep 2012 11:41:34 +0000
Subject: [PATCH] Fix formatting
---
opendj-sdk/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/RoundRobinLoadBalancingAlgorithm.java | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/opendj-sdk/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/RoundRobinLoadBalancingAlgorithm.java b/opendj-sdk/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/RoundRobinLoadBalancingAlgorithm.java
index a799503..2726a89 100644
--- a/opendj-sdk/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/RoundRobinLoadBalancingAlgorithm.java
+++ b/opendj-sdk/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/RoundRobinLoadBalancingAlgorithm.java
@@ -124,8 +124,7 @@
@Override
int getInitialConnectionFactoryIndex() {
// A round robin pool of one connection factories is unlikely in
- // practice
- // and requires special treatment.
+ // practice and requires special treatment.
if (maxIndex == 1) {
return 0;
}
@@ -142,9 +141,8 @@
} while (!nextIndex.compareAndSet(oldNextIndex, newNextIndex));
// There's a potential, but benign, race condition here: other threads
- // could
- // jump in and rotate through the list before we return the connection
- // factory.
+ // could jump in and rotate through the list before we return the
+ // connection factory.
return newNextIndex;
}
--
Gitblit v1.10.0