You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by uj...@apache.org on 2013/11/18 20:45:42 UTC

git commit: ACCUMULO-1858 Fixed compilation error from bad merge.

Updated Branches:
  refs/heads/1.5.1-SNAPSHOT 036f381fb -> a7c5b72d3


ACCUMULO-1858 Fixed compilation error from bad merge.

The old merge&push bit me as I was missing a '}'.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/a7c5b72d
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/a7c5b72d
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/a7c5b72d

Branch: refs/heads/1.5.1-SNAPSHOT
Commit: a7c5b72d3b5b28775106adf87dab2f76f5c1430e
Parents: 036f381
Author: Bill Slacum <uj...@apache.org>
Authored: Mon Nov 18 14:44:55 2013 -0500
Committer: Bill Slacum <uj...@apache.org>
Committed: Mon Nov 18 14:44:55 2013 -0500

----------------------------------------------------------------------
 .../apache/accumulo/examples/simple/client/RandomBatchWriter.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/a7c5b72d/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchWriter.java
----------------------------------------------------------------------
diff --git a/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchWriter.java b/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchWriter.java
index a640003..845d67d 100644
--- a/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchWriter.java
+++ b/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchWriter.java
@@ -123,6 +123,7 @@ public class RandomBatchWriter {
     opts.parseArgs(RandomBatchWriter.class.getName(), args, bwOpts);
     if ((opts.max - opts.min) < opts.num) {
       System.err.println(String.format("You must specify a min and a max that allow for at least num possible values. For example, you requested %d rows, but a min of %d and a max of %d only allows for %d rows.", opts.num, opts.min, opts.max, (opts.max - opts.min)));
+    }
     Random r;
     if (opts.seed == null)
       r = new Random();