public static void hiddenFromEncodedString(ProjectFilterSettings result,String s){
  if (s.length() > 0) {
    int bar=s.indexOf(FIELD_DELIMITER);
    String categories;
    if (bar >= 0) {
      categories=s.substring(0,bar);
    }
 else {
      categories=s;
    }
    StringTokenizer t=new StringTokenizer(categories,LISTITEM_DELIMITER);
    while (t.hasMoreTokens()) {
      String category=t.nextToken();
      result.removeCategory(category);
    }
  }
}

public static void hiddenFromEncodedString ( ProjectFilterSettings result , String s ) { if ( s . length ( ) > 0 ) { int bar = s . indexOf ( FIELD_DELIMITER ) ; String categories ; if ( bar >= 0 ) { categories = s . substring ( 0 , bar ) ; } else { categories = s ; } StringTokenizer t = new StringTokenizer ( categories , LISTITEM_DELIMITER ) ; while ( t . hasMoreTokens ( ) ) { String category = t . nextToken ( ) ; result . removeCategory ( category ) ; } } }
set the hidden bug categories on the specifed projectfiltersettings from an encoded string
