74757677787980818283
} } // If nothing was found return the policy wrapped in a variant if (selected == POLICY_NOT_FOUND || selected == null) { selected = new SelectedVariantImpl(policy, null, null, null); } return selected; }
108109110111112113114115116117118
} } else { Variant variant = selection.getVariant(); VariantType variantType = variant.getVariantType(); if (variantType == VariantType.NULL) { selection = new SelectedVariantImpl(policy, null, selection.getDevice(), null); } } return selection;