Elffuss BraidHub

kikocis/java-driver public

Merge pull request #248 from wselwood/2.1

fix gt lt typo in docs of QueryBuilder.ttl and .timestamp
Changesetef212454eccb88ae160cfa86dd5d7de59e5214e77b954dc0fb7da52a136b6109
AuthorOlivier Michallat <olim7t@users.noreply.github.com> · 2014-11-20 16:00 +01:00
CommitterOlivier Michallat <olim7t@users.noreply.github.com> · 2014-11-20 16:00 +01:00
Parentsf9683b6101b7, ebea5e6705dd

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/querybuilder/QueryBuilder.java +2 −2
@@ -457,7 +457,7 @@
457457 * @param timestamp the timestamp (in microseconds) to use.
458458 * @return the corresponding option
459459 *
460- * @throws IllegalArgumentException if {@code timestamp &gt; 0}.
460+ * @throws IllegalArgumentException if {@code timestamp &lt; 0}.
461461 */
462462 public static Using timestamp(long timestamp) {
463463 if (timestamp < 0)
@@ -482,7 +482,7 @@
482482 * @param ttl the ttl (in seconds) to use.
483483 * @return the corresponding option
484484 *
485- * @throws IllegalArgumentException if {@code ttl &gt; 0}.
485+ * @throws IllegalArgumentException if {@code ttl &lt; 0}.
486486 */
487487 public static Using ttl(int ttl) {
488488 if (ttl < 0)