Can't we just start i at 1 if table.getBucketNum() != null rather than check each time in the loop?