JavaProjectHelper.set14CompilerOptions(fJProject1);
	public void testReplaceReturnIfWithCondition2() throws Exception {		JavaProjectHelper.set14CompilerOptions(fJProject1);				try {			IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);			StringBuffer buf= new StringBuffer();			buf.append("package test1;\n");			buf.append("public class E {\n");			buf.append("    public Number foo(Integer integer) {\n");			buf.append("        if (integer != null) {\n");			buf.append("            return integer;\n");			buf.append("        } else {\n");			buf.append("            return new Double(Double.MAX_VALUE);\n");			buf.append("        }\n");			buf.append("    }\n");			buf.append("}\n");			ICompilationUnit cu= pack1.createCompilationUnit("E.java", buf.toString(), false, null);			int offset= buf.toString().indexOf("if");			AssistContext context= getCorrectionContext(cu, offset, 0);			assertNoErrors(context);			List proposals= collectAssists(context, false);			assertCorrectLabels(proposals);			buf= new StringBuffer();			buf.append("package test1;\n");			buf.append("public class E {\n");			buf.append("    public Number foo(Integer integer) {\n");			buf.append("        return integer != null ? integer : (Number) new Double(Double.MAX_VALUE);\n");			buf.append("    }\n");			buf.append("}\n");			String expected1= buf.toString();			assertExpectedExistInProposals(proposals, new String[] {expected1});		} finally {			JavaProjectHelper.set15CompilerOptions(fJProject1);		}	}