hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-17326 Fix findbugs warning in BufferedMutatorParams Fix above and the other hbase-server findbugs complaint about null-check Addendum to fix complaint out of BMParams#clone. Added CN_IDIOM_NO_SUPER_CALL handling.
Date Sat, 17 Dec 2016 05:39:20 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 2c107e4d0 -> a5ee36d93


HBASE-17326 Fix findbugs warning in BufferedMutatorParams Fix above and
the other hbase-server findbugs complaint about null-check
Addendum to fix complaint out of BMParams#clone. Added CN_IDIOM_NO_SUPER_CALL
handling.


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

Branch: refs/heads/master
Commit: a5ee36d937e9b1ca551d0733f7b74d19b9bc07b8
Parents: 2c107e4
Author: Michael Stack <stack@apache.org>
Authored: Fri Dec 16 21:37:54 2016 -0800
Committer: Michael Stack <stack@apache.org>
Committed: Fri Dec 16 21:37:54 2016 -0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/a5ee36d9/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java
b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java
index bdb33c3..17c69ec 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java
@@ -132,6 +132,8 @@ public class BufferedMutatorParams implements Cloneable {
    *
    * @see java.lang.Object#clone()
    */
+  @edu.umd.cs.findbugs.annotations.SuppressWarnings(value="CN_IDIOM_NO_SUPER_CALL",
+    justification="The clone below is complete")
   public BufferedMutatorParams clone() {
     BufferedMutatorParams clone = new BufferedMutatorParams(this.tableName);
     clone.writeBufferSize = this.writeBufferSize;


Mime
View raw message