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.
This commit is contained in:
parent
2c107e4d08
commit
a5ee36d937
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue