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:00 UTC
svn commit: r1377743 -
/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HTable.java
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);