Browse Source

HADOOP-2823. Removes deprecated methods getColumn(), getLine() from org.apache.hadoop.record.compiler.generated.SimpleCharStream. Contributed by Amareshwari Sriramadasu.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@640318 13f79535-47bb-0310-9956-ffa450edef68
Devaraj Das 17 năm trước cách đây
mục cha
commit
b41ac98a14

+ 4 - 0
CHANGES.txt

@@ -52,6 +52,10 @@ Trunk (unreleased changes)
     HADOOP-2824. Removes one deprecated constructor from MiniMRCluster.
     (Amareshwari Sriramadasu via ddas)
 
+    HADOOP-2823. Removes deprecated methods getColumn(), getLine() from
+    org.apache.hadoop.record.compiler.generated.SimpleCharStream. 
+    (Amareshwari Sriramadasu via ddas)
+
   NEW FEATURES
 
     HADOOP-1398.  Add HBase in-memory block cache.  (tomwhite)

+ 0 - 18
src/java/org/apache/hadoop/record/compiler/generated/SimpleCharStream.java

@@ -216,24 +216,6 @@ public class SimpleCharStream
     return (c);
   }
 
-  /**
-   * @deprecated 
-   * @see #getEndColumn
-   */
-
-  public int getColumn() {
-    return bufcolumn[bufpos];
-  }
-
-  /**
-   * @deprecated 
-   * @see #getEndLine
-   */
-
-  public int getLine() {
-    return bufline[bufpos];
-  }
-
   public int getEndColumn() {
     return bufcolumn[bufpos];
   }