Elffuss BraidHub

kikocis/java-driver public

Better javadoc
Changeset4561005cff1a54ba32748c313b44295667be27455e1e9c36bf3dfb7f0001353d
AuthorSylvain Lebresne <sylvain@datastax.com> · 2014-02-25 17:25 +01:00
CommitterSylvain Lebresne <sylvain@datastax.com> · 2014-02-25 17:25 +01:00
Parents0df8e9f3e4b8

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/Session.java +8 −10
@@ -153,11 +153,10 @@
153153 * </pre>
154154 * the final execution will be performed with Quorum consistency.
155155 * <p>
156- * Please note however that if the same CQL statement is prepared more than
157- * once, all calls to this method will return the same {@code PreparedStatement}
158- * object (which imply that this unique {@code PreparedStatement} object will
159- * inherit the query properties of the last statement for which this method
160- * has been called).
156+ * Please note that if the same CQL statement is prepared more than once, all
157+ * calls to this method will return the same {@code PreparedStatement} object
158+ * but the method will still apply the properties of the prepared
159+ * {@code Statement} to this object.
161160 *
162161 * @param statement the statement to prepare
163162 * @return the prepared statement corresponding to {@code statement}.
@@ -186,11 +185,10 @@
186185 * but with the additional effect that the resulting {@code
187186 * PreparedStamenent} will inherit the query properties set on {@code statement}.
188187 * <p>
189- * Please note however that if the same CQL statement is prepared more than
190- * once, all calls to this method will return the same {@code PreparedStatement}
191- * object (which imply that this unique {@code PreparedStatement} object will
192- * inherit the query properties of the last statement for which this method
193- * has been called).
188+ * Please note that if the same CQL statement is prepared more than once, all
189+ * calls to this method will return the same {@code PreparedStatement} object
190+ * but the method will still apply the properties of the prepared
191+ * {@code Statement} to this object.
194192 *
195193 * @param statement the statement to prepare
196194 * @return a future on the prepared statement corresponding to {@code statement}.