DomGarguilo opened a new pull request #2134:
URL: https://github.com/apache/accumulo/pull/2134


   There are two createBatchWriter() methods in ClientContext.
   ```java
   public BatchWriter createBatchWriter(String tableName, BatchWriterConfig 
config)
   ```
   and
   ```java
   public BatchWriter createBatchWriter(String tableName)
   ```
   The latter just uses the former and creates a `new BatchWriterConfig` as its 
config param. This PR is to convert the cases where the simplified method can 
be used.
   
   Additionally there were a few cases of `createBatchDeleter` that were 
converted for the same reason. I also moved a few cases into a 
try-with-resources block to make use of their autoclosable implementation.


-- 
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:
[email protected]


Reply via email to