Bug 126971 [correction] CorrectionMarkerResolutionGenerator his inconsistent hasResolutions and getResolutions for read-only files
20050208-0800 org.eclipse.jdt.internal.ui.text.correction.CorrectionMarkerResolutionGenerator can return true to hasMarkerResolutions() but returns an empty array when getMarkerResolutions is called. STEPS 1) Create a class than implements Serializable 2) Make the java file read-only 3) Select The serializable class SerializableTest does not declare a static final serialVersionUID field of type long 4) Select Quick fix (enabled because CorrectionMarkerResolutionGenerator returns true for hasMarkerResolutions in this case) 5) Dialog will come up with no resolutions (CorrectionMarkerResolutionGenerator returns an empty array for getMarkerResolutions in this case) This is not an issue if the file is not read-only. Marking major as ClearCase users can run into this issue quite easily as they frequently have read only files.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMessages.java
public static String AdvancedQuickAssistProcessor_convertToIfElse_description;
	public static String AdvancedQuickAssistProcessor_inverseIf_description;
	public static String AdvancedQuickAssistProcessor_inverseBooleanVariable;
	public static String AdvancedQuickAssistProcessor_castAndAssign;
	public static String AdvancedQuickAssistProcessor_pullNegationUp;
	public static String AdvancedQuickAssistProcessor_joinIfSequence;
	public static String AdvancedQuickAssistProcessor_pickSelectedString;
	public static String AdvancedQuickAssistProcessor_negatedVariableName;
	public static String AdvancedQuickAssistProcessor_pushNegationDown;
	public static String AdvancedQuickAssistProcessor_convertSwitchToIf;
	public static String AdvancedQuickAssistProcessor_inverseIfContinue_description;
	public static String AdvancedQuickAssistProcessor_inverseIfToContinue_description;
	public static String AdvancedQuickAssistProcessor_exchangeInnerAndOuterIfConditions_description;
	public static String AdvancedQuickAssistProcessor_inverseConditions_description;
	public static String AdvancedQuickAssistProcessor_inverseConditionalExpression_description;
	public static String AdvancedQuickAssistProcessor_removeParenthesis_description;
	public static String AdvancedQuickAssistProcessor_replaceIfWithConditional;
	public static String AdvancedQuickAssistProcessor_replaceConditionalWithIf;
	public static String AdvancedQuickAssistProcessor_addParethesis_description;
	public static String AdvancedQuickAssistProcessor_joinWithOuter_description;
	public static String AdvancedQuickAssistProcessor_joinWithInner_description;
	public static String AdvancedQuickAssistProcessor_splitAndCondition_description;
	public static String AdvancedQuickAssistProcessor_joinWithOr_description;
	public static String AdvancedQuickAssistProcessor_splitOrCondition_description;
	public static String AdvancedQuickAssistProcessor_exchangeOperands_description;
	public static String AddTypeParameterProposal_method_label;
	public static String AddTypeParameterProposal_type_label;
	static {
		NLS.initializeMessages(BUNDLE_NAME, CorrectionMessages.class);
	}