Elffuss BraidHub

kikocis/java-driver public

Fix a few comments.
Changesete196892375ed5d0d3396310c25d13b890c280fd1cd52fe32f2ac9f7d94d6dce5
Authorolim7t <omichallat+github@gmail.com> · 2014-10-27 15:38 +01:00
Committerolim7t <omichallat+github@gmail.com> · 2014-10-27 16:18 +01:00
Parentsc5e39b1c1a92

Browse the files at this changeset

2 files changed

modified driver-core/src/main/java/com/datastax/driver/core/AbstractReconnectionHandler.java +1 −1
@@ -31,7 +31,7 @@
3131 * <p>
3232 * Concurrent attempts are handled via the {@link #currentAttempt} reference passed to the constructor.
3333 * For a given reference, only one handler will run at a given time. Additional handlers will cancel
34- * themselves if they fight a previous handler running.
34+ * themselves if they find a previous handler running.
3535 * <p>
3636 * This class is designed for concurrency, but instances must not be shared: each thread creates and
3737 * starts its own private handler, all interactions happen through {@link #currentAttempt}.
modified driver-core/src/main/java/com/datastax/driver/core/ControlConnection.java +1 −2
@@ -160,8 +160,7 @@
160160 Connection connection = connectionRef.get();
161161 if (connection != null && connection.isDefunct()) {
162162 // If the connection was marked as defunct, this already reported the
163- // node down, which will trigger a reconnect. Otherwise, just reconnect
164- // manually
163+ // node down, which will trigger a reconnect.
165164 return;
166165 }
167166 // If the connection is not defunct, or the host has left, just reconnect manually