ctubbsii commented on a change in pull request #115: Fixes issue #114, incorrect auths used
by scanners and walkers
URL: https://github.com/apache/accumulo-testing/pull/115#discussion_r332283904
##########
File path: src/main/java/org/apache/accumulo/testing/continuous/ContinuousEnv.java
##########
@@ -27,7 +27,7 @@ public ContinuousEnv(String[] args) {
authList = Collections.singletonList(Authorizations.EMPTY);
} else {
authList = new ArrayList<>();
- for (String a : authValue.split("|")) {
+ for (String a : authValue.split("\\|")) {
Review comment:
If the double-escaping ever gets annoying, you can also use the square bracket syntax to
create a character class, rather than use the escape character, as in: `.split("[|]")`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
|