Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 83457200D04 for ; Mon, 11 Sep 2017 15:31:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 820851609C4; Mon, 11 Sep 2017 13:31:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C932F1609C3 for ; Mon, 11 Sep 2017 15:31:02 +0200 (CEST) Received: (qmail 60784 invoked by uid 500); 11 Sep 2017 13:31:01 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 60772 invoked by uid 99); 11 Sep 2017 13:31:00 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2017 13:31:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D6559F5566; Mon, 11 Sep 2017 13:31:00 +0000 (UTC) From: nikhilbhide To: dev@zookeeper.apache.org Reply-To: dev@zookeeper.apache.org Message-ID: Subject: [GitHub] zookeeper pull request #368: ZOOKEEPER-2814: Ignore space after comma in con... Content-Type: text/plain Date: Mon, 11 Sep 2017 13:31:00 +0000 (UTC) archived-at: Mon, 11 Sep 2017 13:31:03 -0000 GitHub user nikhilbhide opened a pull request: https://github.com/apache/zookeeper/pull/368 ZOOKEEPER-2814: Ignore space after comma in connection string Ported ZOOKEEPER-2814 from master to branch 3.4. Added files src/java/main/org/apache/zookeeper/common/StringUtils.java src/java/test/org/apache/zookeeper/test/StringUtilTest.java Modified Files: src/java/main/org/apache/zookeeper/client/ConnectStringParser.java src/java/test/org/apache/zookeeper/test/ConnectStringParserTest.java You can merge this pull request into a Git repository by running: $ git pull https://github.com/nikhilbhide/zookeeper ZOOKEEPER-2814 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zookeeper/pull/368.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #368 ---- commit 11da57df94c95b52a97b7c039e1ba042ebac8ed7 Author: Nikhil Bhide Date: 2017-09-11T13:14:29Z ZOOKEEPER-2814: Ignore space after comma in connection string Added logic to trim host connection string for ZOOKEEPER-2814: Ignore space after comma in connection string Port ZOOKEEPER-2814 from master commit 3f210394e989507282d1e42fb9f3e35512d314e8 Author: Nikhil Bhide Date: 2017-09-11T13:19:44Z Zookeeper 2814: ignore space after comma in connection string Port Zookeeper 2814 from master to branch - 3.4 Created StringUtils.java commit 7da1c0786f7ca7aabe73f53f818db97d82e701e1 Author: Nikhil Bhide Date: 2017-09-11T13:22:26Z ZOOKEEPER-2814: Ignore space after comma in connection string Port ZOOKEEPER-2814 from master to branch-3.4 Added code to test split logic implemented in StringUtils.java commit 1629f64f58c7787bb993162e5c9b8565b4d45c64 Author: Nikhil Bhide Date: 2017-09-11T13:26:08Z ZOOKEEPER-2814: Ignore space after comma in connection string Port ZOOKEEPER-2814 from master to branch-3.4 Added test to verify the logic added to remove the spaces provided in connection string ---- ---