/** * Get the description of a bug category. Returns the category if no * description can be found. * * @param category * the category * @return the description of the category */ public String getBugCategoryDescription(String category) { BugCategory bc = DetectorFactoryCollection.instance().getBugCategory(category); return (bc != null ? bc.getShortDescription() : category); } }
/** * Get the description of a bug category. Returns the category if no * description can be found. * * @param category * the category * @return the description of the category */ public String getBugCategoryDescription(String category) { BugCategory bc = DetectorFactoryCollection.instance().getBugCategory(category); return (bc != null ? bc.getShortDescription() : category); }