public void addBugCategory ( BugCategory bugCategory ) { BugCategory old = bugCategories . get ( bugCategory . getCategory ( ) ) ; if ( old != null ) { throw new IllegalArgumentException ( "Category already exists" ) ; } bugCategories . put ( bugCategory . getCategory ( ) , bugCategory ) ; }
Add a BugCategory reported by the Plugin .