Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

ProfileMatcher should have a isNegationAware method #61

Open
julesjacobsen opened this Issue Mar 3, 2017 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

julesjacobsen commented Mar 3, 2017

This will avoid this kind of code:

    // Verify that matcher is negation aware if negated IDs are used
    if (!negatedIds.isEmpty()
        && !NegationAwareProfileMatcher.class.isAssignableFrom(matcher.getClass())) {
      throw new NonNegatedMatcherException(matcherName);
    }

@jnguyenx jnguyenx was assigned by cmungall Mar 3, 2017

@jnguyenx jnguyenx removed their assignment Apr 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment