View | Details | Raw Unified | Return to bug 178616
Collapse All | Expand All

(-)model/org/eclipse/jdt/core/JavaCore.java (-1 / +2 lines)
Lines 4551-4558 Link Here
4551
	 *
4551
	 *
4552
	 * @param compliance the given compliance
4552
	 * @param compliance the given compliance
4553
	 * @param options the given options map
4553
	 * @param options the given options map
4554
	 * @since 3.3
4554
	 */
4555
	 */
4555
	public static void setCompilanceOptions(String compliance, Map options) {
4556
	public static void setComplianceOptions(String compliance, Map options) {
4556
		switch((int) (CompilerOptions.versionToJdkLevel(compliance) >>> 16)) {
4557
		switch((int) (CompilerOptions.versionToJdkLevel(compliance) >>> 16)) {
4557
			case ClassFileConstants.MAJOR_VERSION_1_3:
4558
			case ClassFileConstants.MAJOR_VERSION_1_3:
4558
				options.put(JavaCore.COMPILER_COMPLIANCE, JavaCore.VERSION_1_3);
4559
				options.put(JavaCore.COMPILER_COMPLIANCE, JavaCore.VERSION_1_3);

Return to bug 178616