@Test public void testAddCategory() { Assert.assertTrue(plain.containsCategory("FAKE_CATEGORY")); plain.addCategory("FAKE_CATEGORY"); Assert.assertTrue(plain.containsCategory("FAKE_CATEGORY")); }
public void addCategory(String category) { this.hiddenBugCategorySet.remove(category); this.activeBugCategorySet.add(category); }
ProjectFilterSettings implements Cloneable { public void addCategory(String category) { this.hiddenBugCategorySet.remove(category); this.activeBugCategorySet.add(category); } }
ProjectFilterSettings implements Cloneable { public void addCategory(String category) { this.hiddenBugCategorySet.remove(category); this.activeBugCategorySet.add(category); } private  ProjectFilterSettings(); }
ProjectFilterSettings implements Cloneable { public void addCategory(String category) { this.hiddenBugCategorySet.remove(category); this.activeBugCategorySet.add(category); } private  ProjectFilterSettings(); void setMinRank(int minRank); int getMinRank(); static ProjectFilterSettings createDefault(); static ProjectFilterSettings fromEncodedString(String s); static void hiddenFromEncodedString(ProjectFilterSettings result, String s); boolean displayWarning(BugInstance bugInstance); void setMinPriority(String minPriority); String getMinPriority(); int getMinPriorityAsInt(); void addCategory(String category); void removeCategory(String category); void clearAllCategories(); boolean containsCategory(String category); Set<String> getActiveCategorySet(); void setDisplayFalseWarnings(boolean displayFalseWarnings); boolean displayFalseWarnings(); String hiddenToEncodedString(); String toEncodedString(); @Override String toString(); @Override boolean equals(Object obj); @Override Object clone(); @Override int hashCode(); static String getIntPriorityAsString(int prio); }
ProjectFilterSettings implements Cloneable { public void addCategory(String category) { this.hiddenBugCategorySet.remove(category); this.activeBugCategorySet.add(category); } private  ProjectFilterSettings(); void setMinRank(int minRank); int getMinRank(); static ProjectFilterSettings createDefault(); static ProjectFilterSettings fromEncodedString(String s); static void hiddenFromEncodedString(ProjectFilterSettings result, String s); boolean displayWarning(BugInstance bugInstance); void setMinPriority(String minPriority); String getMinPriority(); int getMinPriorityAsInt(); void addCategory(String category); void removeCategory(String category); void clearAllCategories(); boolean containsCategory(String category); Set<String> getActiveCategorySet(); void setDisplayFalseWarnings(boolean displayFalseWarnings); boolean displayFalseWarnings(); String hiddenToEncodedString(); String toEncodedString(); @Override String toString(); @Override boolean equals(Object obj); @Override Object clone(); @Override int hashCode(); static String getIntPriorityAsString(int prio); static final String HIGH_PRIORITY; static final String MEDIUM_PRIORITY; static final String LOW_PRIORITY; static final String EXPERIMENTAL_PRIORITY; static final String DEFAULT_PRIORITY; }