Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-142

Context not being passed to FilterFn instances wrapped in boolean AndFn,OrFn,NotFn

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.5.0
    • Core
    • None

    Description

      The boolean filter classes AndFn, OrFn and NotFn delegate calls to FilterFn instances internally, but setContext is not called on these first.

      As a result, methods which need the context such as getCounter() fail with NullPointerException.

      Attachments

        1. CRUNCH-142_3.patch
          10 kB
          Gabriel Reid
        2. CRUNCH-142_2.patch
          3 kB
          Gabriel Reid
        3. CRUNCH-142_1.patch
          3 kB
          Gabriel Reid
        4. CRUNCH-142.patch
          2 kB
          Dave Beech

        Activity

          People

            gabriel.reid Gabriel Reid
            dbeech Dave Beech
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: