kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | ebea5e6705dd1dac01751c608af5314163488827563f5e52716a1e075fc19772 |
|---|---|
| Author | Wil Selwood <wselwood@gmail.com> · 2014-11-20 14:42 UTC |
| Committer | Wil Selwood <wselwood@gmail.com> · 2014-11-20 14:42 UTC |
| Parents | f9683b6101b7 |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/querybuilder/QueryBuilder.java +2 −2
| @@ -457,7 +457,7 @@ | ||
| 457 | 457 | * @param timestamp the timestamp (in microseconds) to use. |
| 458 | 458 | * @return the corresponding option |
| 459 | 459 | * |
| 460 | - * @throws IllegalArgumentException if {@code timestamp > 0}. | |
| 460 | + * @throws IllegalArgumentException if {@code timestamp < 0}. | |
| 461 | 461 | */ |
| 462 | 462 | public static Using timestamp(long timestamp) { |
| 463 | 463 | if (timestamp < 0) |
| @@ -482,7 +482,7 @@ | ||
| 482 | 482 | * @param ttl the ttl (in seconds) to use. |
| 483 | 483 | * @return the corresponding option |
| 484 | 484 | * |
| 485 | - * @throws IllegalArgumentException if {@code ttl > 0}. | |
| 485 | + * @throws IllegalArgumentException if {@code ttl < 0}. | |
| 486 | 486 | */ |
| 487 | 487 | public static Using ttl(int ttl) { |
| 488 | 488 | if (ttl < 0) |