Bug 339347 [Markers] Can't toggle item limits in Problems view any more without losing limit
I20110308-2000 I can't toggle item limits in Problems view any more without losing limits. After I've disabled the limits, the next time I enable limits, the value is "1". The stored value should not be changed.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerContentGenerator.java
private static final String TAG_AND = "andFilters"; 
	private static final String TAG_LEGACY_FILTER_ENTRY = "filter"; 
	private static final String TAG_MARKER_LIMIT = "markerLimit"; 
	
	
	private final Collection FILTERS_CHANGED = Collections.EMPTY_SET;
	
	private ContentGeneratorDescriptor generatorDescriptor;
	
	private MarkerField[] visibleFields;
	
	private Collection enabledFilters;
	private Collection filters;
	private boolean andFilters = false;
	private int markerLimits = 100;
	/**
	 * focusResources
	 * 
	 */
	private IResource[] selectedResources = MarkerSupportInternalUtilities.EMPTY_RESOURCE_ARRAY;
	
	private Collection currentResources = Collections.EMPTY_SET;
	private CachedMarkerBuilder builder;
	private String viewId;
	private IPropertyChangeListener filterPreferenceListener;
	
	/**
	 * Create a new MarkerContentGenerator
	 * 
	 * @param generatorDescriptor