From 302b1445695f01ea90c3c2aa2980b5eaa510b743 Mon Sep 17 00:00:00 2001 From: Evgenii_Nikiforov Date: Tue, 5 Jun 2018 14:38:36 +0400 Subject: [PATCH] Fix incorrect method reference in documentation setStopRow is deprecated and withStopRow should be used instead --- .../src/main/java/org/apache/hadoop/hbase/client/Scan.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java index 32fe2dc6b499..d4aff047a3c1 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java @@ -483,7 +483,7 @@ public Scan withStartRow(byte[] startRow, boolean inclusive) { * @return this * @throws IllegalArgumentException if stopRow does not meet criteria for a row key (when length * exceeds {@link HConstants#MAX_ROW_LENGTH}) - * @deprecated use {@link #withStartRow(byte[])} instead. This method may change the inclusive of + * @deprecated use {@link #withStopRow(byte[])} instead. This method may change the inclusive of * the stop row to keep compatible with the old behavior. */ @Deprecated