diff --git a/src/main/java/org/apache/hadoop/hbase/client/HTable.java b/src/main/java/org/apache/hadoop/hbase/client/HTable.java index b4f45953851..8aeccb63492 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HTable.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HTable.java @@ -99,7 +99,7 @@ import org.apache.hadoop.hbase.util.Writables; * @see HConnection * @see HConnectionManager */ -public class HTable implements HTableInterface, Closeable { +public class HTable implements HTableInterface { private static final Log LOG = LogFactory.getLog(HTable.class); private HConnection connection; private final byte [] tableName; diff --git a/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java b/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java index 0bc9577bb67..8af8c2814d8 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java @@ -19,6 +19,7 @@ */ package org.apache.hadoop.hbase.client; +import java.io.Closeable; import java.io.IOException; import java.util.List; @@ -35,7 +36,7 @@ import java.util.Map; * * @since 0.21.0 */ -public interface HTableInterface { +public interface HTableInterface extends Closeable { /** * Gets the name of this table.