in src/main/java/org/apache/neethi/util/PolicyIntersector.java [106:117]
boolean compatibleAlternatives(Collection<? extends PolicyComponent> alt1,
Collection<? extends PolicyComponent> alt2) {
if (alt1.isEmpty() && alt2.isEmpty()) {
return true;
}
All all = createCompatibleAlternatives(alt1, alt2, true);
if (all == null) {
return false;
}
return !all.getAssertions().isEmpty();
}