From d38078a67cc22f41109f3b543f43c50e880816cf Mon Sep 17 00:00:00 2001 From: syedmurtazahassan Date: Tue, 23 Jul 2019 14:14:12 +0200 Subject: [PATCH] HBASE-22603 Javadoc Warnings related to @link tag Signed-off-by: Jan Hentschel --- .../src/main/java/org/apache/hadoop/hbase/CellUtil.java | 2 +- .../hbase/regionserver/handler/OpenRegionHandler.java | 6 +++--- .../apache/hadoop/hbase/regionserver/TestStoreScanner.java | 5 ++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java index 2b43b00fdab..7dd7a923131 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java @@ -544,7 +544,7 @@ public final class CellUtil { } /** - * Estimate based on keyvalue's serialization format. + * Estimate based on keyvalue's serialization format. * @param cell * @return Estimate of the cell size in bytes. * @deprecated please use estimatedSerializedSizeOf(Cell) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java index d64b7898f11..e3e10c2530f 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java @@ -300,9 +300,9 @@ public class OpenRegionHandler extends EventHandler { } /** - * Thread to run region post open tasks. Call {@link #getException()} after - * the thread finishes to check for exceptions running - * {@link RegionServerServices#postOpenDeployTasks(HRegion) + * Thread to run region post open tasks. Call {@link #getException()} after the thread finishes + * to check for exceptions running + * {@link RegionServerServices#postOpenDeployTasks(PostOpenDeployContext)} */ static class PostOpenDeployTasksThread extends Thread { private Throwable exception = null; diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreScanner.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreScanner.java index 1b257448486..55fc13dfb96 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreScanner.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreScanner.java @@ -71,9 +71,8 @@ public class TestStoreScanner extends TestCase { /** * From here on down, we have a bunch of defines and specific CELL_GRID of Cells. The * CELL_GRID then has a Scanner that can fake out 'block' transitions. All this elaborate - * setup is for tests that ensure we don't overread, and that the - * {@link StoreScanner#optimize(org.apache.hadoop.hbase.regionserver.querymatcher.ScanQueryMatcher.MatchCode, - * Cell)} is not overly enthusiastic. + * setup is for tests that ensure we don't overread, and that the {@link StoreScanner} is not + * overly enthusiastic. */ private static final byte [] ZERO = new byte [] {'0'}; private static final byte [] ZERO_POINT_ZERO = new byte [] {'0', '.', '0'};