Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B82A113F8 for ; Fri, 25 Apr 2014 23:12:51 +0000 (UTC) Received: (qmail 19309 invoked by uid 500); 25 Apr 2014 23:12:43 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 18991 invoked by uid 500); 25 Apr 2014 23:12:34 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 18860 invoked by uid 99); 25 Apr 2014 23:12:31 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 23:12:31 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 0BE4295286E; Fri, 25 Apr 2014 23:12:31 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: busbey@apache.org To: commits@accumulo.apache.org Date: Fri, 25 Apr 2014 23:12:35 -0000 Message-Id: <74ae3f9607384073877873b98540203a@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [06/17] git commit: ACCUMULO-2734 Fix trivial javadoc bug ACCUMULO-2734 Fix trivial javadoc bug Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/83ef6b84 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/83ef6b84 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/83ef6b84 Branch: refs/heads/master Commit: 83ef6b8433e25477993308cb5a2acc30d9c26246 Parents: 700bcf5 Author: Christopher Tubbs Authored: Fri Apr 25 13:42:41 2014 -0400 Committer: Christopher Tubbs Committed: Fri Apr 25 13:42:41 2014 -0400 ---------------------------------------------------------------------- .../accumulo/core/client/admin/TableOperations.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/83ef6b84/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java b/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java index 0823656..e06baae 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java +++ b/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java @@ -134,16 +134,15 @@ public interface TableOperations { * Note that while the documentation for Text specifies that its bytestream should be UTF-8, the encoding is not enforced by operations that work with byte arrays. *

* For example, you can create 256 evenly-sliced splits via the following code sample even though the given byte sequences are not valid UTF-8. + * *

-   * {@code
-   *  TableOperations tableOps = connector.tableOperations();
-   *  TreeSet splits = new TreeSet();
-   *  for (int i = 0; i < 256; i++) {
-   *    byte[] bytes = { (byte) i };
-   *    splits.add(new Text(bytes));
-   *  }
-   *  tableOps.addSplits(TABLE_NAME, splits);
+   * TableOperations tableOps = connector.tableOperations();
+   * TreeSet<Text> splits = new TreeSet<Text>();
+   * for (int i = 0; i < 256; i++) {
+   *   byte[] bytes = {(byte) i};
+   *   splits.add(new Text(bytes));
    * }
+   * tableOps.addSplits(TABLE_NAME, splits);
    * 
* * @param tableName