HBASE-17326 Fix findbugs warning in BufferedMutatorParams Fix above and the other hbase-server findbugs complaint about null-check
This commit is contained in:
parent
e16e2a61c1
commit
c3ce02d592
|
@ -30,7 +30,7 @@ import org.apache.hadoop.hbase.classification.InterfaceStability;
|
||||||
*/
|
*/
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Evolving
|
@InterfaceStability.Evolving
|
||||||
public class BufferedMutatorParams {
|
public class BufferedMutatorParams implements Cloneable {
|
||||||
|
|
||||||
static final int UNSET = -1;
|
static final int UNSET = -1;
|
||||||
|
|
||||||
|
|
|
@ -131,6 +131,8 @@ public class CellCounter extends Configured implements Tool {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@edu.umd.cs.findbugs.annotations.SuppressWarnings(value="NP_NULL_ON_SOME_PATH",
|
||||||
|
justification="Findbugs is blind to the Precondition null check")
|
||||||
public void map(ImmutableBytesWritable row, Result values,
|
public void map(ImmutableBytesWritable row, Result values,
|
||||||
Context context)
|
Context context)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue