-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-22725 Remove all remaining javadoc warnings #463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2038,22 +2038,23 @@ public HRegion createLocalHRegion(RegionInfo info, TableDescriptor desc, WAL wal | |
| return HRegion.createHRegion(info, getDataTestDir(), getConfiguration(), desc, wal); | ||
| } | ||
|
|
||
| /** | ||
| * @param tableName | ||
| * @param startKey | ||
| * @param stopKey | ||
| * @param callingMethod | ||
| * @param conf | ||
| * @param isReadOnly | ||
| * @param families | ||
| * @throws IOException | ||
| * @return A region on which you must call | ||
| {@link HBaseTestingUtility#closeRegionAndWAL(HRegion)} when done. | ||
| * @deprecated since 2.0.0 and will be removed in 3.0.0. Use | ||
| * {@link #createLocalHRegion(TableName, byte[], byte[], boolean, Durability, WAL, byte[]...)} | ||
| * instead. | ||
| * @see #createLocalHRegion(TableName, byte[], byte[], boolean, Durability, WAL, byte[]...) | ||
| * @see <a href="https://issues.apache.org/jira/browse/HBASE-13893">HBASE-13893</a> | ||
| @SuppressWarnings("checkstyle:linelength") | ||
| /** | ||
| * @param tableName the name of the table | ||
| * @param startKey the start key of the region | ||
| * @param stopKey the start key of the region | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| * @param callingMethod the name of the calling method probably a test method | ||
| * @param conf the configuration to use | ||
| * @param isReadOnly true if the table is read only, false otherwise | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suggestion: Use |
||
| * @param families the column families to use | ||
| * @throws IOException if an IO problem is encountered | ||
| * @return A region on which you must call {@link HBaseTestingUtility#closeRegionAndWAL(HRegion)} | ||
| * when done. | ||
| * @deprecated since 2.0.0 and will be removed in 3.0.0. Use | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The indentation is wrong.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should also fix the Checkstyle violation. |
||
| * {@link HBaseTestingUtility#createLocalHRegion(TableName, byte[], byte[], boolean, Durability, WAL, byte[]...)} | ||
| * instead. | ||
| * @see HBaseTestingUtility#createLocalHRegion(TableName, byte[], byte[], boolean, Durability, WAL, byte[]...) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto. |
||
| * @see <a href="https://issues.apache.org/jira/browse/HBASE-13893">HBASE-13893</a> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto. |
||
| */ | ||
| @Deprecated | ||
| public HRegion createLocalHRegion(byte[] tableName, byte[] startKey, byte[] stopKey, | ||
|
|
@@ -3292,10 +3293,9 @@ public boolean visit(Result r) throws IOException { | |
| * Waits for a table to be 'enabled'. Enabled means that table is set as 'enabled' and the | ||
| * regions have been all assigned. Will timeout after default period (30 seconds) | ||
| * Tolerates nonexistent table. | ||
| * @param table Table to wait on. | ||
| * @param table | ||
| * @throws InterruptedException | ||
| * @throws IOException | ||
| * @param table the table to wait on. | ||
| * @throws InterruptedException if interrupted while waiting | ||
| * @throws IOException if an IO problem is encountered | ||
| */ | ||
| public void waitTableEnabled(TableName table) | ||
| throws InterruptedException, IOException { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -153,8 +153,8 @@ class MockRegionServer implements AdminProtos.AdminService.BlockingInterface, | |
| private final Random random = new Random(); | ||
|
|
||
| /** | ||
| * Map of regions to map of rows and {@link Result}. Used as data source when | ||
| * {@link #get(RpcController, GetRequest)} is called. Because we have a byte | ||
| * Map of regions to map of rows and {@link Result}. Used as data source when | ||
| * {@link #get(RpcController, ClientProtos.GetRequest)} is called. Because we have a byte | ||
| * key, need to use TreeMap and provide a Comparator. Use | ||
| * {@link #setGetResult(byte[], byte[], Result)} filling this map. | ||
| */ | ||
|
|
@@ -205,10 +205,11 @@ int getThenIncrement() { | |
| } | ||
|
|
||
| /** | ||
| * Use this method filling the backing data source used by {@link #get(RpcController, GetRequest)} | ||
| * @param regionName | ||
| * @param row | ||
| * @param r | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In future, could just purge params that do not have description.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You mean inside test code, right? |
||
| * Use this method filling the backing data source used by | ||
| * {@link #get(RpcController, ClientProtos.GetRequest)} | ||
| * @param regionName the region name to assign | ||
| * @param row the row key | ||
| * @param r the single row result | ||
| */ | ||
| void setGetResult(final byte [] regionName, final byte [] row, final Result r) { | ||
| Map<byte [], Result> value = this.gets.get(regionName); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: "skip" (lower 's').