Skip to content

Commit 2d9d405

Browse files
murtazahassan123HorizonNet
authored andcommitted
HBASE-22725 Remove all remaining Javadoc warnings
Signed-off-by: stack <[email protected]> Signed-off-by: Jan Hentschel <[email protected]>
1 parent 9888217 commit 2d9d405

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ <R> Object[] batchCallback(
219219

220220
/**
221221
* Puts some data in the table.
222-
*
222+
*
223223
* @param put The data to put.
224224
* @throws IOException if a remote or network exception occurs.
225225
* @since 0.20.0

hbase-client/src/main/java/org/apache/hadoop/hbase/client/coprocessor/Batch.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ public abstract class Batch {
4040
* the implementations {@link Batch.Call#call(Object)} method will be invoked
4141
* with a proxy to each region's coprocessor {@link com.google.protobuf.Service} implementation.
4242
* </p>
43-
* @see org.apache.hadoop.hbase.client.coprocessor
43+
* @see org.apache.hadoop.hbase.client.coprocessor.Batch
4444
* @see org.apache.hadoop.hbase.client.HTable#coprocessorService(byte[])
45-
* @see org.apache.hadoop.hbase.client.HTable#coprocessorService(Class, byte[], byte[], org.apache.hadoop.hbase.client.coprocessor.Batch.Call)
45+
* @see org.apache.hadoop.hbase.client.HTable#coprocessorService(Class, byte[], byte[],
46+
* org.apache.hadoop.hbase.client.coprocessor.Batch.Call)
4647
* @param <T> the instance type to be passed to
4748
* {@link Batch.Call#call(Object)}
4849
* @param <R> the return type from {@link Batch.Call#call(Object)}

hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3131,7 +3131,7 @@ public OperationStatus[] batchReplay(MutationReplay[] mutations, long replaySeqI
31313131
* @param batchOp contains the list of mutations
31323132
* @return an array of OperationStatus which internally contains the
31333133
* OperationStatusCode and the exceptionMessage if any.
3134-
* @throws IOException
3134+
* @throws IOException if an IO problem is encountered
31353135
*/
31363136
OperationStatus[] batchMutate(BatchOperationInProgress<?> batchOp) throws IOException {
31373137
boolean initialized = false;

hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2143,14 +2143,14 @@ public HRegion createLocalHRegion(HRegionInfo info, HTableDescriptor desc, WAL w
21432143
}
21442144

21452145
/**
2146-
* @param tableName
2147-
* @param startKey
2148-
* @param stopKey
2149-
* @param callingMethod
2150-
* @param conf
2151-
* @param isReadOnly
2152-
* @param families
2153-
* @throws IOException
2146+
* @param tableName the name of the table
2147+
* @param startKey the start key of the region
2148+
* @param stopKey the stop key of the region
2149+
* @param callingMethod the name of the calling method probably a test method
2150+
* @param conf the configuration to use
2151+
* @param isReadOnly {@code true} if the table is read only, {@code false} otherwise
2152+
* @param families the column families to use
2153+
* @throws IOException if an IO problem is encountered
21542154
* @return A region on which you must call
21552155
* {@link HRegion#closeHRegion(HRegion)} when done.
21562156
*/
@@ -3302,10 +3302,9 @@ public void waitTableAvailable(Admin admin, byte[] table, long timeoutMillis)
33023302
* Waits for a table to be 'enabled'. Enabled means that table is set as 'enabled' and the
33033303
* regions have been all assigned. Will timeout after default period (30 seconds)
33043304
* @see #waitTableAvailable(byte[])
3305-
* @param table Table to wait on.
3306-
* @param table
3307-
* @throws InterruptedException
3308-
* @throws IOException
3305+
* @param table the table to wait on.
3306+
* @throws InterruptedException if interrupted while waiting
3307+
* @throws IOException if an IO problem is encountered
33093308
*/
33103309
public void waitTableEnabled(TableName table)
33113310
throws InterruptedException, IOException {

hbase-server/src/test/java/org/apache/hadoop/hbase/master/MockRegionServer.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ class MockRegionServer
134134
private final Random random = new Random();
135135

136136
/**
137-
* Map of regions to map of rows and {@link Results}. Used as data source when
138-
* {@link MockRegionServer#get(byte[], Get)} is called. Because we have a byte
137+
* Map of regions to map of rows and {@link Result}. Used as data source when
138+
* {@link #get(RpcController, ClientProtos.GetRequest)} is called. Because we have a byte
139139
* key, need to use TreeMap and provide a Comparator. Use
140140
* {@link #setGetResult(byte[], byte[], Result)} filling this map.
141141
*/
@@ -190,9 +190,9 @@ int getThenIncrement() {
190190

191191
/**
192192
* Use this method filling the backing data source used by {@link #get(byte[], Get)}
193-
* @param regionName
194-
* @param row
195-
* @param r
193+
* @param regionName the region name to assign
194+
* @param row the row key
195+
* @param r the single row result
196196
*/
197197
void setGetResult(final byte [] regionName, final byte [] row, final Result r) {
198198
Map<byte [], Result> value = this.gets.get(regionName);
@@ -556,7 +556,7 @@ public List<Region> getOnlineRegions(TableName tableName) throws IOException {
556556
// TODO Auto-generated method stub
557557
return null;
558558
}
559-
559+
560560
@Override
561561
public Set<TableName> getOnlineTables() {
562562
return null;

0 commit comments

Comments
 (0)