accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] milleruntime commented on a change in pull request #7: ACCUMULO-4717 Use public API
Date Thu, 01 Jan 1970 00:00:00 GMT
milleruntime commented on a change in pull request #7: ACCUMULO-4717 Use public API
URL: https://github.com/apache/accumulo-testing/pull/7#discussion_r145514988
 
 

 ##########
 File path: core/src/main/java/org/apache/accumulo/testing/core/randomwalk/shard/BulkInsert.java
 ##########
 @@ -172,7 +171,7 @@ private void sort(State state, RandWalkEnv env, FileSystem fs, String
tableName,
 
     Collection<Text> splits = conn.tableOperations().listSplits(tableName, maxSplits);
     for (Text split : splits)
-      out.println(Base64.getEncoder().encodeToString(TextUtil.getBytes(split)));
+      out.println(Base64.getEncoder().encodeToString(split.getBytes()));
 
 Review comment:
   This case and a few others made me wonder why code from util is not part of the API?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message