Bug 81098 Quick Fix 'Change workspace compliance settings to 5.0' with project specific settings [quick fix]
M4 test pass. The Quick Fix 'Change workspace compliance settings to 5.0' does not make much sense when the project already has project specific settings. Either the Quick Fix should not appear when the project overrides workspace settings, or the user should be asked whether the project should take over workspace settings.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReorgCorrectionsSubProcessor.java
if (args.length == 2) {
			ICompilationUnit cu= context.getCompilationUnit();
			boolean isLinked= cu.getResource().isLinked();
			
			
			proposals.add(new CorrectMainTypeNameProposal(cu, args[1], 5));
			
			String newCUName= args[1] + ".java"; 
			ICompilationUnit newCU= ((IPackageFragment) (cu.getParent())).getCompilationUnit(newCUName);
			if (!newCU.exists() && !isLinked && !JavaConventions.validateCompilationUnitName(newCUName).matches(IStatus.ERROR)) {
				RenameCompilationUnitChange change= new RenameCompilationUnitChange(cu, newCUName);
	
				
				String label= CorrectionMessages.getFormattedString("ReorgCorrectionsSubProcessor.renamecu.description", newCUName); 
				proposals.add(new ChangeCorrectionProposal(label, change, 6, JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_RENAME)));
			}
		}
	}
	
	public static void getWrongPackageDeclNameProposals(IInvocationContext context, IProblemLocation problem, Collection proposals) throws CoreException {
		String[] args= problem.getProblemArguments();
		if (args.length == 1) {
			ICompilationUnit cu= context.getCompilationUnit();
			boolean isLinked= cu.getResource().isLinked();
			
			
			int relevance= cu.getPackageDeclarations().length == 0 ? 7 : 5; 
			proposals.add(new CorrectPackageDeclarationProposal(cu, problem, relevance));
			
			IPackageDeclaration[] packDecls= cu.getPackageDeclarations();