/** * Returns a recognition of the specified type (assuming a non-null reason); else null. */ public static Recognition of(final Category category, final String reason) { return reason != null? new Recognition(category, reason): null; }
/** * Returns a recognition of the specified type (assuming a non-null reason); else null. */ public static Recognition of(final Category category, final String reason) { return reason != null? new Recognition(category, reason): null; }