kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 7a0a782b9e9fe46b8a4e7fd1678eff0b4f92d0528d65ce94289e19a227b87276 |
|---|---|
| Author | Alexandre Dutra <alexandre.dutra@datastax.com> · 2016-09-07 12:05 +02:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2016-09-16 10:45 -07:00 |
| Parents | 64d8e0bf36e4 |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/TypeCodec.java +2 −2
| @@ -533,8 +533,8 @@ | ||
| 533 | 533 | * {@link TupleValue}, and the internal representation of a {@code ROWS} response), |
| 534 | 534 | * which may appear in driver logs.</li> |
| 535 | 535 | * </ol> |
| 536 | - * If choose not to implement this method, you can return a constant string (for example | |
| 537 | - * "XxxCodec.format not implemented"). | |
| 536 | + * If you choose not to implement this method, you should not throw an exception but | |
| 537 | + * instead return a constant string (for example "XxxCodec.format not implemented"). | |
| 538 | 538 | * |
| 539 | 539 | * @param value An instance of T; may be {@code null}. |
| 540 | 540 | * @return CQL string |