owlsim-v3 icon indicating copy to clipboard operation
owlsim-v3 copied to clipboard

ProfileMatcher should have a isNegationAware method

Open julesjacobsen opened this issue 7 years ago • 0 comments

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);
    }

julesjacobsen avatar Mar 03 '17 16:03 julesjacobsen