accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [1/3] git commit: ACCUMULO-3017 Replace setTable(String) and getTable() methods to RangeInputSplit.
Date Fri, 25 Jul 2014 02:47:47 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.6.1-SNAPSHOT af224c2e4 -> f08bbfee2
  refs/heads/master 3f43c48db -> c45315a76


ACCUMULO-3017 Replace setTable(String) and getTable() methods to RangeInputSplit.

Inadvertently renamed without a deprecation marking in 1.6.0


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/f08bbfee
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/f08bbfee
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/f08bbfee

Branch: refs/heads/1.6.1-SNAPSHOT
Commit: f08bbfee2a5164a7950576ca9b9af916b6a851df
Parents: af224c2
Author: Josh Elser <elserj@apache.org>
Authored: Thu Jul 24 22:46:06 2014 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Thu Jul 24 22:47:22 2014 -0400

----------------------------------------------------------------------
 .../core/client/mapreduce/RangeInputSplit.java      | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/f08bbfee/core/src/main/java/org/apache/accumulo/core/client/mapreduce/RangeInputSplit.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/client/mapreduce/RangeInputSplit.java
b/core/src/main/java/org/apache/accumulo/core/client/mapreduce/RangeInputSplit.java
index 14573bd..500047c 100644
--- a/core/src/main/java/org/apache/accumulo/core/client/mapreduce/RangeInputSplit.java
+++ b/core/src/main/java/org/apache/accumulo/core/client/mapreduce/RangeInputSplit.java
@@ -355,10 +355,26 @@ public class RangeInputSplit extends InputSplit implements Writable
{
     return sb.toString();
   }
 
+  /**
+   * Use {@link #getTableName}
+   */
+  @Deprecated
+  public String getTable() {
+    return getTableName();
+  }
+
   public String getTableName() {
     return tableName;
   }
 
+  /**
+   * Use {@link #setTableName}
+   */
+  @Deprecated
+  public void setTable(String table) {
+    setTableName(table);
+  }
+
   public void setTableName(String table) {
     this.tableName = table;
   }


Mime
View raw message