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 0556DF4B4 for ; Fri, 25 Apr 2014 17:44:15 +0000 (UTC) Received: (qmail 42909 invoked by uid 500); 25 Apr 2014 17:44:13 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 42810 invoked by uid 500); 25 Apr 2014 17:44:12 -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 42793 invoked by uid 99); 25 Apr 2014 17:44:12 -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 17:44:12 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 467D1951DF6; Fri, 25 Apr 2014 17:44:12 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ctubbsii@apache.org To: commits@accumulo.apache.org Date: Fri, 25 Apr 2014 17:44:13 -0000 Message-Id: <6fcc97d2cd8a4be2b247d48ec8725694@git.apache.org> In-Reply-To: <9f55cbcae9dd4e5182628b348b1ce2f1@git.apache.org> References: <9f55cbcae9dd4e5182628b348b1ce2f1@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/3] 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/1.6.0-SNAPSHOT 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