Andrew Kyle Purtell created HBASE-26555:
-------------------------------------------

             Summary: Fix findbugs/spotbugs findings
                 Key: HBASE-26555
                 URL: https://issues.apache.org/jira/browse/HBASE-26555
             Project: HBase
          Issue Type: Task
            Reporter: Andrew Kyle Purtell
             Fix For: 2.5.0, 3.0.0-alpha-2, 2.3.8, 2.4.9, 2.6.0


Clean up findbugs/spotbugs findings on branch HEADs (master, branch-2, 
branch-2.5, branch-2.4, branch-2.3) 

For example, from recent precommits: 

Possible null pointer dereference in 
org.apache.hadoop.hbase.coprocessor.MetaTableMetrics$ExampleRegionObserverMeta.opMeterName(Object)
 due to return value of called method Dereferenced at 
MetaTableMetrics.java:org.apache.hadoop.hbase.coprocessor.MetaTableMetrics$ExampleRegionObserverMeta.opMeterName(Object)
 due to return value of called method Dereferenced at 
MetaTableMetrics.java:[line 230]

        Possible null pointer dereference in 
org.apache.hadoop.hbase.coprocessor.MetaTableMetrics$ExampleRegionObserverMeta.opWithClientMeterName(Object)
 due to return value of called method Dereferenced at 
MetaTableMetrics.java:org.apache.hadoop.hbase.coprocessor.MetaTableMetrics$ExampleRegionObserverMeta.opWithClientMeterName(Object)
 due to return value of called method Dereferenced at 
MetaTableMetrics.java:[line 210]

        Possible null pointer dereference in 
org.apache.hadoop.hbase.io.hfile.LruCachedBlockQueue.add(LruCachedBlock) due to 
return value of called method Method invoked at 
LruCachedBlockQueue.java:org.apache.hadoop.hbase.io.hfile.LruCachedBlockQueue.add(LruCachedBlock)
 due to return value of called method Method invoked at 
LruCachedBlockQueue.java:[line 73]

        Possible null pointer dereference in 
org.apache.hadoop.hbase.io.hfile.bucket.CachedEntryQueue.add(Map$Entry) due to 
return value of called method Dereferenced at 
CachedEntryQueue.java:org.apache.hadoop.hbase.io.hfile.bucket.CachedEntryQueue.add(Map$Entry)
 due to return value of called method Dereferenced at 
CachedEntryQueue.java:[line 79]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to