hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-15828 fix extant findbug NM_SAME_SIMPLE_NAME_AS_INTERFACE in Future
Date Mon, 16 May 2016 04:11:36 GMT
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 <stack@apache.org>
Authored: Fri May 13 17:46:41 2016 -0700
Committer: stack <stack@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


Mime
View raw message