Skip to content

Commit 1598d99

Browse files
committed
fix comments
1 parent 460a002 commit 1598d99

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/index/bloom/TestKeyRangeLookupTree.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
public class TestKeyRangeLookupTree {
3939

4040
private static final Random RANDOM = new Random();
41-
private final int padLength = 5;
4241
private KeyRangeLookupTree keyRangeLookupTree;
4342
private Map<String, HashSet<String>> expectedMatches;
4443

@@ -208,8 +207,8 @@ private void updateExpectedMatchesToTest(KeyRangeNode toInsert) {
208207
* @param key the numeric value of the key
209208
* @return result of aligned numbers. For example, `1` -> `00001`.
210209
*/
211-
private String alignedNumber(long key) {
212-
return String.format("%0".concat(String.valueOf(padLength)).concat("d"), key);
210+
private static String alignedNumber(long key) {
211+
return String.format("%0".concat(String.valueOf(5)).concat("d"), key);
213212
}
214213

215214
/**

0 commit comments

Comments
 (0)