Elffuss BraidHub

kikocis/java-driver public

Fix wrong code snippet.
Changeseta159b8bff32c66daf4cc851e32573eb35f4089d6c4653404f7c407e4888838d8
AuthorAlexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-25 18:50 +01:00
CommitterAlexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-25 18:50 +01:00
Parents708d073b885d

Browse the files at this changeset

1 file changed

modified manual/custom_codecs/README.md +2 −2
@@ -187,8 +187,8 @@
187187 And here is how to retrieve a `MyPojo` object converted from a JSON document:
188188
189189 ```java
190-ResultSet rows = session.execute(...);
191-Row row = one();
190+ResultSet rs = session.execute(...);
191+Row row = rs.one();
192192 // Let the driver convert the string for you...
193193 MyPojo myPojo = row.get(1, MyPojo.class);
194194 // ... or retrieve the raw string if you need it