accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [1/2] accumulo git commit: ACCUMULO-3426 return this in setDurability
Date Tue, 16 Dec 2014 20:42:17 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 3fbbc8289 -> 4b018487a


ACCUMULO-3426 return this in setDurability


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/9f8f5882
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/9f8f5882
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/9f8f5882

Branch: refs/heads/master
Commit: 9f8f5882ee220e5b9caa20f98ca9d4e334ebb16a
Parents: b1dc56e
Author: Eric Newton <Eric Newton>
Authored: Tue Dec 16 15:40:55 2014 -0500
Committer: Eric Newton <Eric Newton>
Committed: Tue Dec 16 15:40:55 2014 -0500

----------------------------------------------------------------------
 .../org/apache/accumulo/core/client/BatchWriterConfig.java    | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/9f8f5882/core/src/main/java/org/apache/accumulo/core/client/BatchWriterConfig.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/client/BatchWriterConfig.java b/core/src/main/java/org/apache/accumulo/core/client/BatchWriterConfig.java
index 842a713..ecb031b 100644
--- a/core/src/main/java/org/apache/accumulo/core/client/BatchWriterConfig.java
+++ b/core/src/main/java/org/apache/accumulo/core/client/BatchWriterConfig.java
@@ -180,16 +180,17 @@ public class BatchWriterConfig implements Writable {
   }
 
   /**
-   * Change the durability for the BatchWriter session. The default durability is "default"
which 
+   * Change the durability for the BatchWriter session. The default durability is "default"
which
    * is the table's durability setting.  If the durability is set to something other than
the default,
    * it will override the durability setting of the table.
-   * 
+   *
    * @param durability the Durability to be used by the BatchWriter
    * @since 1.7.0
    *
    */
-  public void setDurability(Durability durability) {
+  public BatchWriterConfig setDurability(Durability durability) {
     this.durability = durability;
+    return this;
   }
 
   @Override


Mime
View raw message