You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2014/04/13 16:25:18 UTC

[jira] [Resolved] (CURATOR-102) org.apache.curator.framework.recipes.cache.ChildData should have public constructor

     [ https://issues.apache.org/jira/browse/CURATOR-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jordan Zimmerman resolved CURATOR-102.
--------------------------------------

    Resolution: Fixed

PR accepted and merged.

> org.apache.curator.framework.recipes.cache.ChildData should have public constructor
> -----------------------------------------------------------------------------------
>
>                 Key: CURATOR-102
>                 URL: https://issues.apache.org/jira/browse/CURATOR-102
>             Project: Apache Curator
>          Issue Type: Improvement
>          Components: Recipes
>    Affects Versions: 2.4.1
>            Reporter: Ted Pearson
>            Assignee: Jordan Zimmerman
>            Priority: Minor
>             Fix For: 2.4.2
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> See https://github.com/apache/curator/pull/4
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)