Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-1264

Investigate using Hamcrest matchers for type determination

    Details

    • Type: Story
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Fedora 4.0.0
    • Fix Version/s: None
    • Component/s: f4-core
    • Labels:

      Description

      We do an awful lot of nominal type-determination based on JCR mixins. Most of this happens via static methods with responsibility for a single type or a few types, with boolean result. Often these methods are wrapped in Guava Predicate<>s for operation over collections or Iterator<>s. It might be worth developing a clean and readable micro-framework around Hamcrest matchers for type-determination that would make it easy to find the right test or predicate for a particular task. But it might be more work than is worthwhile. This ticket is to find out which. The result will either be nothing or another ticket for the actual construction and integration of such a micro-framework.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ajs6f@virginia.edu A. Soroka
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: