You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/10/31 16:44:47 UTC

[GitHub] [accumulo-website] mikewalch commented on a change in pull request #201: Update Tour for 2.0

mikewalch commented on a change in pull request #201: Update Tour for 2.0
URL: https://github.com/apache/accumulo-website/pull/201#discussion_r341248043
 
 

 ##########
 File path: tour/conditional-writer.md
 ##########
 @@ -49,8 +49,8 @@ changed since it was read.
     }
   }
 
-  static boolean setAddress(Connector conn, String id, String expectedAddr, String newAddr) {
-    try (BatchWriter writer = conn.createBatchWriter("GothamPD", new BatchWriterConfig())) {
+  static boolean setAddress(AccumuloClient client, String id, String expectedAddr, String newAddr) {
+    try (BatchWriter writer = client.createBatchWriter("GothamPD", new BatchWriterConfig())) {
 
 Review comment:
   You can also remove `new BatchWriterConfig()` here.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services