From notifications-return-52523-archive-asf-public=cust-asf.ponee.io@accumulo.apache.org Mon Oct 7 23:44:00 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5294F1804BB for ; Tue, 8 Oct 2019 01:44:00 +0200 (CEST) Received: (qmail 88150 invoked by uid 500); 7 Oct 2019 23:43:59 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 88139 invoked by uid 99); 7 Oct 2019 23:43:59 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Oct 2019 23:43:59 +0000 From: GitBox To: notifications@accumulo.apache.org Subject: [GitHub] [accumulo-testing] ctubbsii commented on a change in pull request #115: Fixes issue #114, incorrect auths used by scanners and walkers Message-ID: <157049183944.24272.11913596793288419585.gitbox@gitbox.apache.org> Date: Mon, 07 Oct 2019 23:43:59 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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