kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | ef212454eccb88ae160cfa86dd5d7de59e5214e77b954dc0fb7da52a136b6109 |
|---|---|
| Author | Olivier Michallat <olim7t@users.noreply.github.com> · 2014-11-20 16:00 +01:00 |
| Committer | Olivier Michallat <olim7t@users.noreply.github.com> · 2014-11-20 16:00 +01:00 |
| Parents | f9683b6101b7, ebea5e6705dd |
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) |