You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ps...@apache.org on 2019/07/02 14:38:34 UTC

[hbase] branch branch-2 updated: HBASE-22651 ErrorProne issue in TestByteBufferArray

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 <ps...@apache.org>
AuthorDate: Tue Jul 2 16:37:05 2019 +0200

    HBASE-22651 ErrorProne issue in TestByteBufferArray
    
    Signed-off-by: Michael Stack <st...@apache.org>
---
 .../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();