HBASE-5172 HTableInterface should extend java.io.Closeable

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1229696 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-01-10 19:21:40 +00:00
parent 530c1c0e67
commit 9cbf9e9f4e
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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.