Elffuss BraidHub

kikocis/java-driver public

fix gt lt typo in docs of QueryBuilder.ttl and .timestamp
Changesetebea5e6705dd1dac01751c608af5314163488827563f5e52716a1e075fc19772
AuthorWil Selwood <wselwood@gmail.com> · 2014-11-20 14:42 UTC
CommitterWil Selwood <wselwood@gmail.com> · 2014-11-20 14:42 UTC
Parentsf9683b6101b7

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)