Skip to content

Commit

Permalink
HBASE-24886 Remove deprecated methods in RowMutations (#2267)
Browse files Browse the repository at this point in the history
Signed-off-by: Viraj Jasani <[email protected]>
Signed-off-by: Jan Hentschel <[email protected]>
Signed-off-by: Duo Zhang <[email protected]>
  • Loading branch information
nyl3532016 authored Aug 19, 2020
1 parent 98e3584 commit 7a4d7c8
Showing 1 changed file with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,30 +74,6 @@ public RowMutations(byte [] row, int initialCapacity) {
}
}

/**
* Add a {@link Put} operation to the list of mutations
* @param p The {@link Put} to add
* @throws IOException if the row of added mutation doesn't match the original row
* @deprecated since 2.0 version and will be removed in 3.0 version.
* use {@link #add(Mutation)}
*/
@Deprecated
public void add(Put p) throws IOException {
add((Mutation) p);
}

/**
* Add a {@link Delete} operation to the list of mutations
* @param d The {@link Delete} to add
* @throws IOException if the row of added mutation doesn't match the original row
* @deprecated since 2.0 version and will be removed in 3.0 version.
* use {@link #add(Mutation)}
*/
@Deprecated
public void add(Delete d) throws IOException {
add((Mutation) d);
}

/**
* Currently only supports {@link Put} and {@link Delete} mutations.
*
Expand Down

0 comments on commit 7a4d7c8

Please sign in to comment.