kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 708d073b885d4921473a262b6004a5fb80a8f01b8309cb0f0cf3f484a32107ea |
|---|---|
| Author | Alexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-25 17:37 +01:00 |
| Committer | Alexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-25 17:37 +01:00 |
| Parents | 9b2e3dd1def4 |
1 file changed
modified manual/custom_payloads/README.md +1 −1
| @@ -134,7 +134,7 @@ | ||
| 134 | 134 | ```java |
| 135 | 135 | ProtocolVersion myCurrentVersion = cluster.getConfiguration() |
| 136 | 136 | .getProtocolOptions() |
| 137 | - .getProtocolVersionEnum(); | |
| 137 | + .getProtocolVersion(); | |
| 138 | 138 | if (myCurrentVersion.compareTo(ProtocolVersion.V4) >= 0) { |
| 139 | 139 | // only send custom payloads if current protocol version supports it |
| 140 | 140 | statement.setOutgoingPayload(myCustomPayload); |