diff options
author | kchong | 2012-02-01 20:22:44 +0000 |
---|---|---|
committer | kchong | 2012-02-01 20:22:44 +0000 |
commit | 39587b037a3a13808cc401b1b16aa1b5559604ca (patch) | |
tree | 3ab5787a73f9714acfcfcb1d1db5a6225e76c3d1 | |
parent | 591fc06a679037f97490cbb0074ce34db6e9dbd0 (diff) | |
download | webtools.webservices-R3_3_maintenance.tar.gz webtools.webservices-R3_3_maintenance.tar.xz webtools.webservices-R3_3_maintenance.zip |
[369966] JavaFacetUtil needs to be updated to include Java 7R3_3_2R3_3_maintenance
-rw-r--r-- | bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetUtils.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetUtils.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetUtils.java index 67f4d0b76..ecf4fb703 100644 --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetUtils.java +++ b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetUtils.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2009 IBM Corporation and others. + * Copyright (c) 2007, 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -17,6 +17,7 @@ * 20080507 229532 kathy@ca.ibm.com - Kathy Chan * 20090303 242635 mahutch@ca.ibm.com - Mark Hutchinson, Remove unnecessary UI dependencies from org.eclipse.jst.ws.consumption * 20100203 kchong@ca.ibm.com - Keith Chong, Java Facet change + * 20120127 369959 kchong@ca.ibm.com - Yen Lu, Keith Chong - JavaFacetUtil needs to be updated to include Java 7 *******************************************************************************/ package org.eclipse.jst.ws.internal.consumption.common; @@ -1023,6 +1024,10 @@ public class FacetUtils { javaFacetVersion = JavaFacet.JAVA_60; } + else if (jdkComplianceLevel.equals("1.7")) + { + javaFacetVersion = JavaFacet.VERSION_1_7; + } else { javaFacetVersion = javaFacet.getVersion("1.4"); |