This is an automated email from the ASF dual-hosted git repository.

psomogyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new b22459c  HBASE-22651 ErrorProne issue in TestByteBufferArray
b22459c is described below

commit b22459c37c1d70534d899fbf8b4eec59e4e9156b
Author: Peter Somogyi <[email protected]>
AuthorDate: Tue Jul 2 16:37:05 2019 +0200

    HBASE-22651 ErrorProne issue in TestByteBufferArray
    
    Signed-off-by: Michael Stack <[email protected]>
---
 .../src/test/java/org/apache/hadoop/hbase/util/TestByteBufferArray.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestByteBufferArray.java
 
b/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestByteBufferArray.java
index 40f8b65..6929403 100644
--- 
a/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestByteBufferArray.java
+++ 
b/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestByteBufferArray.java
@@ -97,6 +97,7 @@ public class TestByteBufferArray {
     void run() throws IOException;
   }
 
+  @SuppressWarnings("TryFailThrowable")
   private void expectedAssert(Call r) throws IOException {
     try {
       r.run();

Reply via email to