hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1229696 - in /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client: HTable.java HTableInterface.java
Date Tue, 10 Jan 2012 19:21:41 GMT
Author: stack
Date: Tue Jan 10 19:21:40 2012
New Revision: 1229696

URL: http://svn.apache.org/viewvc?rev=1229696&view=rev
Log:
HBASE-5172 HTableInterface should extend java.io.Closeable

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java?rev=1229696&r1=1229695&r2=1229696&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java Tue Jan 10 19:21:40
2012
@@ -99,7 +99,7 @@ import org.apache.hadoop.hbase.util.Writ
  * @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;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java?rev=1229696&r1=1229695&r2=1229696&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java Tue Jan
10 19:21:40 2012
@@ -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.



Mime
View raw message