hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1377743 - /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HTable.java
Date Mon, 27 Aug 2012 17:06:00 GMT
Author: tedyu
Date: Mon Aug 27 17:06:00 2012
New Revision: 1377743

URL: http://svn.apache.org/viewvc?rev=1377743&view=rev
Log:
HBASE-6661 Mark single parameter HTable constructors as deprecated in 0.90 and 0.92


Modified:
    hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HTable.java

Modified: hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HTable.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HTable.java?rev=1377743&r1=1377742&r2=1377743&view=diff
==============================================================================
--- hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HTable.java (original)
+++ hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HTable.java Mon Aug 27
17:06:00 2012
@@ -132,8 +132,9 @@ public class HTable implements HTableInt
    * locations; i.e. it will not make use of already-cached region locations if
    * available. Use only when being quick and dirty.
    * @throws IOException if a remote or network exception occurs
-   * @see #HTable(Configuration, String)
+   * @deprecated use {@link #HTable(Configuration, String)}
    */
+  @Deprecated
   public HTable(final String tableName)
   throws IOException {
     this(HBaseConfiguration.create(), Bytes.toBytes(tableName));
@@ -148,8 +149,9 @@ public class HTable implements HTableInt
    * available. Use only when being quick and dirty.
    * @param tableName Name of the table.
    * @throws IOException if a remote or network exception occurs
-   * @see #HTable(Configuration, String)
+   * @deprecated use {@link #HTable(Configuration, String)}
    */
+  @Deprecated
   public HTable(final byte [] tableName)
   throws IOException {
     this(HBaseConfiguration.create(), tableName);



Mime
View raw message