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

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


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

commit ed44b60cb133d709ee5e0895e34203cc1f215b1c
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