Skip to content

Commit c61e2b9

Browse files
HBASE-22571 made changes according to Jan's 2nd feedback
1 parent 7e2d6fa commit c61e2b9

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapred/TestTableInputFormat.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,11 @@ public static Table createTable(byte[] tableName, byte[][] families) throws IOEx
143143
/**
144144
* Verify that the result and key have expected values.
145145
*
146-
* @param r
147-
* @param key
148-
* @param expectedKey
149-
* @param expectedValue
150-
* @return true if result and key have expected values, false otherwise. Where result is a single
151-
* row result.
146+
* @param r single row result
147+
* @param key the row key
148+
* @param expectedKey the expected key
149+
* @param expectedValue the expected value
150+
* @return true if the result contains the expected key and value, false otherwise.
152151
*/
153152
static boolean checkResult(Result r, ImmutableBytesWritable key,
154153
byte[] expectedKey, byte[] expectedValue) {

hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapreduce/TestTableInputFormat.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,11 @@ public static Table createTable(byte[] tableName, byte[][] families) throws IOEx
141141
/**
142142
* Verify that the result and key have expected values.
143143
*
144-
* @param r
145-
* @param key
146-
* @param expectedKey
147-
* @param expectedValue
148-
* @return true if result and key have expected values, false otherwise. Where result is a single
149-
* row result.
144+
* @param r single row result
145+
* @param key the row key
146+
* @param expectedKey the expected key
147+
* @param expectedValue the expected value
148+
* @return true if the result contains the expected key and value, false otherwise.
150149
*/
151150
static boolean checkResult(Result r, ImmutableBytesWritable key,
152151
byte[] expectedKey, byte[] expectedValue) {

hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ private static void flushStore(HStore store, long id) throws IOException {
794794
* @param numRows
795795
* @param qualifier
796796
* @param family
797-
* @return row KeyValues list
797+
* @return the rows key-value list
798798
*/
799799
List<Cell> getKeyValueSet(long[] timestamps, int numRows,
800800
byte[] qualifier, byte[] family) {

hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHStoreFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ private HStoreFile mockStoreFile(boolean bulkLoad,
844844
* @param numRows
845845
* @param qualifier
846846
* @param family
847-
* @return row KeyValues list
847+
* @return the rows key-value list
848848
*/
849849
List<KeyValue> getKeyValueSet(long[] timestamps, int numRows,
850850
byte[] qualifier, byte[] family) {

0 commit comments

Comments
 (0)