Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 366986
Collapse All | Expand All

(-)earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEComponentImportDataModelProvider.java (-1 / +3 lines)
Lines 54-60 Link Here
54
		IProjectFacetVersion javaFacetVersion = null;
54
		IProjectFacetVersion javaFacetVersion = null;
55
		IRuntime runtime = (IRuntime)getProperty(IFacetProjectCreationDataModelProperties.FACET_RUNTIME);
55
		IRuntime runtime = (IRuntime)getProperty(IFacetProjectCreationDataModelProperties.FACET_RUNTIME);
56
		if(runtime != null){
56
		if(runtime != null){
57
			if(runtime.supports(JavaFacet.VERSION_1_6)){
57
			if(runtime.supports(JavaFacet.VERSION_1_7)){
58
				javaFacetVersion = JavaFacet.VERSION_1_7;
59
			} else if(runtime.supports(JavaFacet.VERSION_1_6)){
58
				javaFacetVersion = JavaFacet.VERSION_1_6;
60
				javaFacetVersion = JavaFacet.VERSION_1_6;
59
			} else if(runtime.supports(JavaFacet.VERSION_1_5)){
61
			} else if(runtime.supports(JavaFacet.VERSION_1_5)){
60
				javaFacetVersion = JavaFacet.VERSION_1_5;
62
				javaFacetVersion = JavaFacet.VERSION_1_5;

Return to bug 366986