accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [1/3] git commit: ACCUMULO-2734 Fix trivial javadoc bug
Date Fri, 25 Apr 2014 17:44:12 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.5.2-SNAPSHOT 700bcf545 -> 83ef6b843
  refs/heads/1.6.0-SNAPSHOT f4454a065 -> 956f19b5f


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.5.2-SNAPSHOT
Commit: 83ef6b8433e25477993308cb5a2acc30d9c26246
Parents: 700bcf5
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Fri Apr 25 13:42:41 2014 -0400
Committer: Christopher Tubbs <ctubbsii@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


Mime
View raw message