Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-102

org.apache.curator.framework.recipes.cache.ChildData should have public constructor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.1
    • 2.4.2
    • Recipes
    • None

    Description

      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.

      Attachments

        Activity

          People

            randgalt Jordan Zimmerman
            tedpearson Ted Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                Remaining Estimate - 1m
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified