Return-Path: X-Original-To: apmail-curator-dev-archive@minotaur.apache.org Delivered-To: apmail-curator-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B5F5911A4C for ; Thu, 10 Apr 2014 18:55:55 +0000 (UTC) Received: (qmail 17642 invoked by uid 500); 10 Apr 2014 18:55:54 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 17611 invoked by uid 500); 10 Apr 2014 18:55:52 -0000 Mailing-List: contact dev-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list dev@curator.apache.org Received: (qmail 17600 invoked by uid 99); 10 Apr 2014 18:55:50 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 18:55:50 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 129519897A0; Thu, 10 Apr 2014 18:55:50 +0000 (UTC) From: tedpearson To: dev@curator.apache.org Reply-To: dev@curator.apache.org Message-ID: Subject: [GitHub] curator pull request: make ChildData constructor public for access... Content-Type: text/plain Date: Thu, 10 Apr 2014 18:55:50 +0000 (UTC) GitHub user tedpearson opened a pull request: https://github.com/apache/curator/pull/4 make ChildData constructor public for access from unit tests and such When unit testing an application making use of PathChildrenCache, I wanted to make some PathChildrenCacheEvents to pass to my PathChildrenCacheListener-implementing class. However I found that PathChildrenCacheEvent contains ChildData, which has only a no-modifier constructor, meaning my unit test would have to be in the org.apache.curator.framework.recipies.cache package in order to perform these tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tedpearson/curator master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/curator/pull/4.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 #4 ---- commit 43d1c23762b9242d2ec31a2b7d34330ec0ef2b9a Author: Ted Pearson Date: 2014-04-10T18:51:15Z make ChildData constructor public for access from unit tests and such ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---