diff options
author | cbateman | 2009-03-12 17:15:13 +0000 |
---|---|---|
committer | cbateman | 2009-03-12 17:15:13 +0000 |
commit | 981570ec70efe9341bfe5a1b3cadff303c0527be (patch) | |
tree | 9526f73ceb3e2e65403a00d6bace2718f73a21a7 | |
parent | 16a2712f58430e3573ce66080d7ced700236a4f4 (diff) | |
download | webtools.jsf-981570ec70efe9341bfe5a1b3cadff303c0527be.tar.gz webtools.jsf-981570ec70efe9341bfe5a1b3cadff303c0527be.tar.xz webtools.jsf-981570ec70efe9341bfe5a1b3cadff303c0527be.zip |
Suppress and fix warnings.
2 files changed, 16 insertions, 1 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/project/facet/JSFFacetUninstallConfig.java b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/project/facet/JSFFacetUninstallConfig.java index f0d06d2df..1c1245aac 100644 --- a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/project/facet/JSFFacetUninstallConfig.java +++ b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/project/facet/JSFFacetUninstallConfig.java @@ -6,6 +6,10 @@ import org.eclipse.wst.common.project.facet.core.IActionConfigFactory; import org.eclipse.wst.common.project.facet.core.IFacetedProjectWorkingCopy; import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion; +/** + * Configuration for JSF facet uninstall + * + */ public class JSFFacetUninstallConfig extends ActionConfig @@ -13,6 +17,9 @@ public class JSFFacetUninstallConfig { private LibraryUninstallDelegate librariesUninstallDelegate = null; + /** + * @return the library uninstall delegate + */ public LibraryUninstallDelegate getLibrariesUninstallDelegate() { return this.librariesUninstallDelegate; @@ -43,6 +50,10 @@ public class JSFFacetUninstallConfig } } + /** + * The action configuration factory for the JSF facet uninstall config + * + */ public static final class Factory implements IActionConfigFactory diff --git a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/project/facet/LegacyJSFLibraryProviderDetector.java b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/project/facet/LegacyJSFLibraryProviderDetector.java index e86a3a66a..653d5c105 100644 --- a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/project/facet/LegacyJSFLibraryProviderDetector.java +++ b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/project/facet/LegacyJSFLibraryProviderDetector.java @@ -28,7 +28,7 @@ import org.eclipse.wst.common.project.facet.core.IProjectFacet; /** * @author <a href="mailto:konstantin.komissarchik@oracle.com">Konstantin Komissarchik</a> */ - +@SuppressWarnings("deprecation") public final class LegacyJSFLibraryProviderDetector extends LegacyLibraryProviderDetector @@ -61,6 +61,10 @@ public final class LegacyJSFLibraryProviderDetector return null; } + /** + * @param cpe + * @return true if the classpath entry is detected + */ public static boolean detect( final IClasspathEntry cpe ) { if( cpe.getEntryKind() == IClasspathEntry.CPE_CONTAINER ) |