Elffuss BraidHub

kikocis/java-driver public

Fix wrong code snippet.
Changeset708d073b885d4921473a262b6004a5fb80a8f01b8309cb0f0cf3f484a32107ea
AuthorAlexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-25 17:37 +01:00
CommitterAlexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-25 17:37 +01:00
Parents9b2e3dd1def4

Browse the files at this changeset

1 file changed

modified manual/custom_payloads/README.md +1 −1
@@ -134,7 +134,7 @@
134134 ```java
135135 ProtocolVersion myCurrentVersion = cluster.getConfiguration()
136136 .getProtocolOptions()
137- .getProtocolVersionEnum();
137+ .getProtocolVersion();
138138 if (myCurrentVersion.compareTo(ProtocolVersion.V4) >= 0) {
139139 // only send custom payloads if current protocol version supports it
140140 statement.setOutgoingPayload(myCustomPayload);