This is an automated email from the ASF dual-hosted git repository.
mwalch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo-examples.git
The following commit(s) were added to refs/heads/master by this push:
new 0d84a80 Fix QA issue
0d84a80 is described below
commit 0d84a80ba1ebff4c3da54aca1535a5c86436d52c
Author: Mike Walch <[email protected]>
AuthorDate: Thu Jan 31 16:32:34 2019 -0500
Fix QA issue
---
src/main/java/org/apache/accumulo/examples/bloom/BloomFilters.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/accumulo/examples/bloom/BloomFilters.java
b/src/main/java/org/apache/accumulo/examples/bloom/BloomFilters.java
index f45de93..6bba9ea 100644
--- a/src/main/java/org/apache/accumulo/examples/bloom/BloomFilters.java
+++ b/src/main/java/org/apache/accumulo/examples/bloom/BloomFilters.java
@@ -76,7 +76,7 @@ public class BloomFilters {
Random r = new Random(seed);
try (BatchWriter bw = client.createBatchWriter(tableName)) {
for (int x = 0; x < 1_000_000; x++) {
- Long rowId = RandomBatchWriter.abs(r.nextLong()) % 1_000_000_000;
+ long rowId = RandomBatchWriter.abs(r.nextLong()) % 1_000_000_000;
Mutation m = RandomBatchWriter.createMutation(rowId, 50, new
ColumnVisibility());
bw.addMutation(m);
}