Skip to content

Commit 9fbf046

Browse files
author
Sylvain Lebresne
committed
Better javadoc
1 parent 647914b commit 9fbf046

File tree

1 file changed

+8
-10
lines changed
  • driver-core/src/main/java/com/datastax/driver/core

1 file changed

+8
-10
lines changed

driver-core/src/main/java/com/datastax/driver/core/Session.java

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,10 @@ public interface Session {
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 @@ public interface Session {
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}.

0 commit comments

Comments
 (0)