if (bar>=0){ String factories = s.substring(bar+1,s.length()); t = new StringTokenizer(factories, LISTITEM_DELIMITER); while (t.hasMoreTokens()) { DetectorFactory factory = DetectorFactoryCollection.instance().getFactory(t.nextToken()); if (factory != null) { result.getDetectorFactories().add(factory); } }  }
	public static ProjectFilterSettings fromEncodedString(String s) {		ProjectFilterSettings result = new ProjectFilterSettings();				int bar = s.indexOf(FIELD_DELIMITER);		if (bar >= 0) {			String minPriority = s.substring(0, bar);			if (priorityNameToValueMap.get(minPriority) == null)				minPriority = DEFAULT_PRIORITY;						result.setMinPriority(minPriority);						s = s.substring(bar + 1);		}				// Parse bug categories		bar = s.indexOf(FIELD_DELIMITER);				String categories = (bar >=0) ? s.substring(0,bar) : s;		StringTokenizer t = new StringTokenizer(categories, LISTITEM_DELIMITER);		while (t.hasMoreTokens()) {			String category = t.nextToken();			result.addCategory(category);		}				// Parse detector factories		if (bar>=0){			String factories = s.substring(bar+1,s.length());			t = new StringTokenizer(factories, LISTITEM_DELIMITER);			while (t.hasMoreTokens()) {									DetectorFactory factory =						DetectorFactoryCollection.instance().getFactory(t.nextToken());					if (factory != null) {						result.getDetectorFactories().add(factory);					}							}					}				return result;				}