HBASE-15828 fix extant findbug NM_SAME_SIMPLE_NAME_AS_INTERFACE in Future

This commit is contained in:
stack 2016-05-13 17:46:41 -07:00
parent 2482062d34
commit c47511baa7
1 changed files with 5 additions and 2 deletions

View File

@ -26,6 +26,9 @@ import org.apache.hadoop.hbase.classification.InterfaceStability;
*/ */
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Evolving @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> {
} }