You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2016/05/16 04:11:36 UTC
hbase git commit: HBASE-15828 fix extant findbug
NM_SAME_SIMPLE_NAME_AS_INTERFACE in Future
Repository: hbase
Updated Branches:
refs/heads/master 2482062d3 -> c47511baa
HBASE-15828 fix extant findbug NM_SAME_SIMPLE_NAME_AS_INTERFACE in Future
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c47511ba
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c47511ba
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c47511ba
Branch: refs/heads/master
Commit: c47511baa7a8e50cecc9296f685b49249174cc77
Parents: 2482062
Author: stack <st...@apache.org>
Authored: Fri May 13 17:46:41 2016 -0700
Committer: stack <st...@apache.org>
Committed: Sun May 15 21:11:29 2016 -0700
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/hbase/client/Future.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/c47511ba/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Future.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Future.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Future.java
index 1247fd4..99a8baa 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Future.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Future.java
@@ -26,6 +26,9 @@ import org.apache.hadoop.hbase.classification.InterfaceStability;
*/
@InterfaceAudience.Public
@InterfaceStability.Evolving
-public interface Future<V> extends io.netty.util.concurrent.Future<V> {
-}
+@edu.umd.cs.findbugs.annotations.SuppressWarnings(value="NM_SAME_SIMPLE_NAME_AS_INTERFACE",
+ justification="Agree that this can be confusing but folks will pull in this and think twice "
+ + "about pulling in netty; incidence of confusion should be rare in this case.")
+public interface Future<V> extends io.netty.util.concurrent.Future<V> {
+}
\ No newline at end of file