You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2012/08/27 19:06:52 UTC
svn commit: r1377744 -
/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTable.java
Author: tedyu
Date: Mon Aug 27 17:06:52 2012
New Revision: 1377744
URL: http://svn.apache.org/viewvc?rev=1377744&view=rev
Log:
HBASE-6661 Mark single parameter HTable constructors as deprecated in 0.90 and 0.92
Modified:
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTable.java
Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTable.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTable.java?rev=1377744&r1=1377743&r2=1377744&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTable.java (original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTable.java Mon Aug 27 17:06:52 2012
@@ -125,8 +125,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));
@@ -141,8 +142,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);