You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by bu...@apache.org on 2014/04/26 01:12:35 UTC

[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 <ct...@apache.org>
Authored: Fri Apr 25 13:42:41 2014 -0400
Committer: Christopher Tubbs <ct...@apache.org>
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.
    * <p>
    * 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.
+   *
    * <pre>
-   * {@code
-   *  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);
+   * TableOperations tableOps = connector.tableOperations();
+   * TreeSet&lt;Text&gt; splits = new TreeSet&lt;Text&gt;();
+   * for (int i = 0; i &lt; 256; i++) {
+   *   byte[] bytes = {(byte) i};
+   *   splits.add(new Text(bytes));
    * }
+   * tableOps.addSplits(TABLE_NAME, splits);
    * </pre>
    *
    * @param tableName