ddanielr commented on code in PR #3321:
URL: https://github.com/apache/accumulo/pull/3321#discussion_r1176534419


##########
server/base/src/main/java/org/apache/accumulo/server/problems/ProblemReports.java:
##########
@@ -217,9 +218,9 @@ private Iterator<Entry<Key,Value>> getIter2() {
                 scanner.setTimeout(3, TimeUnit.SECONDS);
 
                 if (table == null) {
-                  scanner.setRange(new Range(new Text("~err_"), false, new 
Text("~err`"), false));
+                  scanner.setRange(ProblemSection.getRange());
                 } else {
-                  scanner.setRange(new Range(new Text("~err_" + table)));
+                  scanner.setRange(new Range(new 
Text(ProblemSection.getRowPrefix() + table)));

Review Comment:
   I found two more instances of `new Text` use in ProblemReports and was able 
to remove all three and the import `Text` statement. 
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to