File tree Expand file tree Collapse file tree
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/index/bloom Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838public 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 /**
You can’t perform that action at this time.
0 commit comments