Compiler Report

Compiler: Eclipse Java Compiler Version: 0.959, 3.5.0 rc1

Number of source files: 394 Number of classfiles: 473

Problems: 85 (Errors: 0 Warnings: 85 )

Source File: org/eclipse/jst/j2ee/internal/plugin/J2EEPlugin.java
1. WARNING: DiscouragedReference

Discouraged access: The type PlatformURLConnection is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.equinox.common_3.5.0.v20090520-1800.jar

J2EEPlugin.java :

26 : import org.eclipse.core.internal.boot.PlatformURLConnection;

2. WARNING: DiscouragedReference

Discouraged access: The method getURLAsLocal() from the type PlatformURLConnection is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.equinox.common_3.5.0.v20090520-1800.jar

J2EEPlugin.java :

312 : String installLocation = ((PlatformURLConnection) url.openConnection()).getURLAsLocal().getFile();

3. WARNING: DiscouragedReference

Discouraged access: The type PlatformURLConnection is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.equinox.common_3.5.0.v20090520-1800.jar

J2EEPlugin.java :

312 : String installLocation = ((PlatformURLConnection) url.openConnection()).getURLAsLocal().getFile();

Source File: org/eclipse/jst/j2ee/internal/validation/AWorkbenchMOFHelper.java
1. WARNING: DiscouragedReference

Discouraged access: The type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

AWorkbenchMOFHelper.java :

22 : import org.eclipse.jem.internal.plugin.JavaEMFNature;

2. WARNING: DiscouragedReference

Discouraged access: The type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

AWorkbenchMOFHelper.java :

39 : JavaEMFNature nature = getMOFNature(getProject());

3. WARNING: DiscouragedReference

Discouraged access: The type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

AWorkbenchMOFHelper.java :

53 : public JavaEMFNature getMOFNature(IProject project) {

4. WARNING: DiscouragedReference

Discouraged access: The type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

AWorkbenchMOFHelper.java :

76 : if (nature instanceof JavaEMFNature) {

5. WARNING: DiscouragedReference

Discouraged access: The type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

AWorkbenchMOFHelper.java :

77 : return (JavaEMFNature) nature;

Source File: org/eclipse/jst/j2ee/internal/validation/ResourceUtil.java
1. WARNING: DiscouragedReference

Discouraged access: The type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

ResourceUtil.java :

19 : import org.eclipse.jem.internal.adapters.jdom.JDOMAdaptor;

2. WARNING: DiscouragedReference

Discouraged access: The type ReadAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot

ResourceUtil.java :

20 : import org.eclipse.jem.internal.java.adapters.ReadAdaptor;

3. WARNING: DiscouragedReference

Discouraged access: The type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

ResourceUtil.java :

38 : JDOMAdaptor jdomAdapter = null;

4. WARNING: DiscouragedReference

Discouraged access: The type ReadAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot

ResourceUtil.java :

45 : if ((a != null) && a.isAdapterForType(ReadAdaptor.TYPE_KEY) && (a instanceof JDOMAdaptor)) {

5. WARNING: DiscouragedReference

Discouraged access: The field TYPE_KEY from the type ReadAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot

ResourceUtil.java :

45 : if ((a != null) && a.isAdapterForType(ReadAdaptor.TYPE_KEY) && (a instanceof JDOMAdaptor)) {

6. WARNING: DiscouragedReference

Discouraged access: The type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

ResourceUtil.java :

45 : if ((a != null) && a.isAdapterForType(ReadAdaptor.TYPE_KEY) && (a instanceof JDOMAdaptor)) {

7. WARNING: DiscouragedReference

Discouraged access: The type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

ResourceUtil.java :

46 : jdomAdapter = (JDOMAdaptor) a;

8. WARNING: DiscouragedReference

Discouraged access: The method getLineNo() from the type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

ResourceUtil.java :

52 : int lineNo = jdomAdapter.getLineNo();

9. WARNING: DiscouragedReference

Discouraged access: The type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

ResourceUtil.java :

53 : if (lineNo != JDOMAdaptor.INVALID_LINENO)

10. WARNING: DiscouragedReference

Discouraged access: The field INVALID_LINENO from the type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

ResourceUtil.java :

53 : if (lineNo != JDOMAdaptor.INVALID_LINENO)

Source File: org/eclipse/jst/j2ee/internal/common/CMPJavaChangeSynchronizationAdapter.java
1. WARNING: DiscouragedReference

Discouraged access: The type JavaJDOMAdapterFactory is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

CMPJavaChangeSynchronizationAdapter.java :

28 : import org.eclipse.jem.internal.adapters.jdom.JavaJDOMAdapterFactory;

2. WARNING: DiscouragedReference

Discouraged access: The type ReadAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot

CMPJavaChangeSynchronizationAdapter.java :

29 : import org.eclipse.jem.internal.java.adapters.ReadAdaptor;

3. WARNING: DiscouragedReference

Discouraged access: The type ReflectionAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot

CMPJavaChangeSynchronizationAdapter.java :

30 : import org.eclipse.jem.internal.java.adapters.ReflectionAdaptor;

4. WARNING: DiscouragedReference

Discouraged access: The type ReflectionAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot

CMPJavaChangeSynchronizationAdapter.java :

108 : case ReflectionAdaptor.EVENT :

5. WARNING: DiscouragedReference

Discouraged access: The field EVENT from the type ReflectionAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot

CMPJavaChangeSynchronizationAdapter.java :

108 : case ReflectionAdaptor.EVENT :

6. WARNING: NullLocalVariableReference

Null pointer access: The variable cmpAttributes can only be null at this location

CMPJavaChangeSynchronizationAdapter.java :

238 : if (cmpAttributes != null || !cmpAttributes.isEmpty()) {

7. WARNING: NullLocalVariableReference

Null pointer access: The variable cmpAttributes can only be null at this location

CMPJavaChangeSynchronizationAdapter.java :

271 : if (cmpAttributes != null || !cmpAttributes.isEmpty()) {

8. WARNING: DeadCode

Dead code

CMPJavaChangeSynchronizationAdapter.java :

307 : newTarget.eAdapters().remove(this);

9. WARNING: DiscouragedReference

Discouraged access: The type ReadAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot

CMPJavaChangeSynchronizationAdapter.java :

366 : AdapterFactory factory = EcoreUtil.getAdapterFactory(adapterFactories, ReadAdaptor.TYPE_KEY);

10. WARNING: DiscouragedReference

Discouraged access: The field TYPE_KEY from the type ReadAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot

CMPJavaChangeSynchronizationAdapter.java :

366 : AdapterFactory factory = EcoreUtil.getAdapterFactory(adapterFactories, ReadAdaptor.TYPE_KEY);

11. WARNING: DiscouragedReference

Discouraged access: The type JavaJDOMAdapterFactory is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

CMPJavaChangeSynchronizationAdapter.java :

367 : if (factory instanceof JavaJDOMAdapterFactory) {

12. WARNING: DiscouragedReference

Discouraged access: The type JavaJDOMAdapterFactory is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

CMPJavaChangeSynchronizationAdapter.java :

368 : JavaJDOMAdapterFactory javaFactory = (JavaJDOMAdapterFactory) factory;

13. WARNING: DiscouragedReference

Discouraged access: The type JavaJDOMAdapterFactory is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

CMPJavaChangeSynchronizationAdapter.java :

368 : JavaJDOMAdapterFactory javaFactory = (JavaJDOMAdapterFactory) factory;

14. WARNING: DiscouragedReference

Discouraged access: The method flushReflectionNoNotification(String) from the type JavaJDOMAdapterFactory is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

CMPJavaChangeSynchronizationAdapter.java :

369 : javaFactory.flushReflectionNoNotification(primaryKeyClass.getQualifiedName());

Source File: org/eclipse/jst/j2ee/internal/common/UpdateProjectClasspath.java
1. WARNING: DiscouragedReference

Discouraged access: The type ClasspathEntry is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.core_3.5.0.v_963.jar

UpdateProjectClasspath.java :

25 : import org.eclipse.jdt.internal.core.ClasspathEntry;

2. WARNING: DiscouragedReference

Discouraged access: The type ClasspathEntry is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.core_3.5.0.v_963.jar

UpdateProjectClasspath.java :

54 : ((ClasspathEntry)classpath[i]).specificOutputLocation = newOutputPath;

3. WARNING: DiscouragedReference

Discouraged access: The field specificOutputLocation from the type ClasspathEntry is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.core_3.5.0.v_963.jar

UpdateProjectClasspath.java :

54 : ((ClasspathEntry)classpath[i]).specificOutputLocation = newOutputPath;

Source File: org/eclipse/jst/j2ee/internal/common/operations/JARDependencyDataModelProperties.java
1. WARNING: UnusedImport

The import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15 is never used

JARDependencyDataModelProperties.java :

14 : import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15;

Source File: org/eclipse/jst/j2ee/internal/common/operations/JARDependencyDataModelProvider.java
1. WARNING: UnusedImport

The import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15 is never used

JARDependencyDataModelProvider.java :

28 : import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15;

Source File: org/eclipse/jst/j2ee/internal/common/operations/JARDependencyOperation.java
1. WARNING: UnusedImport

The import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15 is never used

JARDependencyOperation.java :

44 : import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15;

2. WARNING: LocalVariableIsNeverUsed

The local variable buildPathOperation is never read

JARDependencyOperation.java :

74 : IHeadlessRunnableWithProgress buildPathOperation = createBuildPathOperation(model);

Source File: org/eclipse/jst/j2ee/internal/common/operations/JavaModelUtil.java
1. WARNING: UnusedImport

The import org.eclipse.jdt.core.ICodeAssist is never used

JavaModelUtil.java :

34 : import org.eclipse.jdt.core.ICodeAssist;

2. WARNING: UnusedImport

The import org.eclipse.jdt.core.IOpenable is never used

JavaModelUtil.java :

41 : import org.eclipse.jdt.core.IOpenable;

3. WARNING: UnusedImport

The import org.eclipse.jdt.core.IParent is never used

JavaModelUtil.java :

44 : import org.eclipse.jdt.core.IParent;

4. WARNING: UnusedImport

The import org.eclipse.jdt.core.ISourceReference is never used

JavaModelUtil.java :

45 : import org.eclipse.jdt.core.ISourceReference;

Source File: org/eclipse/jst/j2ee/internal/common/operations/NewJavaClassOperation.java
1. WARNING: UnusedImport

The import java.lang.reflect.InvocationTargetException is never used

NewJavaClassOperation.java :

26 : import java.lang.reflect.InvocationTargetException;

2. WARNING: UnusedImport

The import org.eclipse.core.commands.operations.AbstractOperation is never used

NewJavaClassOperation.java :

31 : import org.eclipse.core.commands.operations.AbstractOperation;

Source File: org/eclipse/jst/j2ee/internal/common/operations/UpdateJavaBuildPathOperation.java
1. WARNING: UnusedImport

The import java.lang.reflect.InvocationTargetException is never used

UpdateJavaBuildPathOperation.java :

13 : import java.lang.reflect.InvocationTargetException;

2. WARNING: UnusedImport

The import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15 is never used

UpdateJavaBuildPathOperation.java :

31 : import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15;

Source File: org/eclipse/jst/j2ee/common/internal/provider/EjbRefItemProvider.java
1. WARNING: UnusedImport

The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used

EjbRefItemProvider.java :

28 : import org.eclipse.emf.edit.provider.ItemProviderAdapter;

Source File: org/eclipse/jst/j2ee/common/internal/provider/EnvEntryItemProvider.java
1. WARNING: UnusedImport

The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used

EnvEntryItemProvider.java :

28 : import org.eclipse.emf.edit.provider.ItemProviderAdapter;

Source File: org/eclipse/jst/j2ee/common/internal/provider/ResourceEnvRefItemProvider.java
1. WARNING: UnusedImport

The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used

ResourceEnvRefItemProvider.java :

28 : import org.eclipse.emf.edit.provider.ItemProviderAdapter;

Source File: org/eclipse/jst/j2ee/common/internal/provider/ResourceRefItemProvider.java
1. WARNING: UnusedImport

The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used

ResourceRefItemProvider.java :

28 : import org.eclipse.emf.edit.provider.ItemProviderAdapter;

Source File: org/eclipse/jst/j2ee/common/internal/provider/RunAsSpecifiedIdentityItemProvider.java
1. WARNING: UnusedImport

The import org.eclipse.emf.edit.command.AddCommand is never used

RunAsSpecifiedIdentityItemProvider.java :

24 : import org.eclipse.emf.edit.command.AddCommand;

2. WARNING: UnusedImport

The import org.eclipse.emf.edit.command.RemoveCommand is never used

RunAsSpecifiedIdentityItemProvider.java :

25 : import org.eclipse.emf.edit.command.RemoveCommand;

Source File: org/eclipse/jst/j2ee/common/internal/provider/SecurityRoleItemProvider.java
1. WARNING: UnusedImport

The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used

SecurityRoleItemProvider.java :

28 : import org.eclipse.emf.edit.provider.ItemProviderAdapter;

Source File: org/eclipse/jst/j2ee/common/internal/provider/SecurityRoleRefItemProvider.java
1. WARNING: UnusedImport

The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used

SecurityRoleRefItemProvider.java :

26 : import org.eclipse.emf.edit.provider.ItemProviderAdapter;

Source File: org/eclipse/jst/j2ee/application/internal/operations/AddComponentToEnterpriseApplicationOp.java
1. WARNING: LocalVariableIsNeverUsed

The local variable module is never read

AddComponentToEnterpriseApplicationOp.java :

186 : Module module = (Module) mod;

Source File: org/eclipse/jst/j2ee/internal/earcreation/modulemap/ModulemapPackageImpl.java
1. WARNING: DiscouragedReference

Discouraged access: The type JavaRefPackageImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot

ModulemapPackageImpl.java :

19 : import org.eclipse.jem.java.internal.impl.JavaRefPackageImpl;

2. WARNING: DiscouragedReference

Discouraged access: The type JavaRefPackageImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot

ModulemapPackageImpl.java :

70 : JavaRefPackageImpl.init();

3. WARNING: DiscouragedReference

Discouraged access: The method init() from the type JavaRefPackageImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot

ModulemapPackageImpl.java :

70 : JavaRefPackageImpl.init();

Source File: org/eclipse/jst/j2ee/internal/componentcore/JavaEEBinaryComponentHelper.java
1. WARNING: LocalVariableIsNeverUsed

The local variable ddPath is never read

JavaEEBinaryComponentHelper.java :

224 : IPath ddPath = null;

2. WARNING: LocalVariableIsNeverUsed

The local variable legacyCount is never read

JavaEEBinaryComponentHelper.java :

302 : int legacyCount = 0;

Source File: org/eclipse/jst/j2ee/internal/project/J2EEJavaProjectInfo.java
1. WARNING: DiscouragedReference

Discouraged access: The type JavaProjectInfo is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

J2EEJavaProjectInfo.java :

26 : import org.eclipse.jem.internal.plugin.JavaProjectInfo;

2. WARNING: DiscouragedReference

Discouraged access: The type JavaProjectInfo is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

J2EEJavaProjectInfo.java :

33 : public class J2EEJavaProjectInfo extends JavaProjectInfo {

3. WARNING: DiscouragedReference

Discouraged access: The constructor JavaProjectInfo() is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

J2EEJavaProjectInfo.java :

50 : super();

4. WARNING: DiscouragedReference

Discouraged access: The constructor JavaProjectInfo() is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

J2EEJavaProjectInfo.java :

57 : super();

5. WARNING: DiscouragedReference

Discouraged access: The field DEFAULT_JAVA_OUTPUT_PATH from the type JavaProjectInfo is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

J2EEJavaProjectInfo.java :

237 : return DEFAULT_JAVA_OUTPUT_PATH;

6. WARNING: DiscouragedReference

Discouraged access: The method getSourcePath() from the type JavaProjectInfo is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot

J2EEJavaProjectInfo.java :

264 : return Path.ROOT.append(getProjectPath()).append(getSourcePath()).toString();

Source File: org/eclipse/jst/j2ee/project/facet/J2EEModuleFacetInstallDataModelProvider.java
1. WARNING: DiscouragedReference

Discouraged access: The type ResourceStatus is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar

J2EEModuleFacetInstallDataModelProvider.java :

17 : import org.eclipse.core.internal.resources.ResourceStatus;

2. WARNING: DiscouragedReference

Discouraged access: The type Messages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar

J2EEModuleFacetInstallDataModelProvider.java :

18 : import org.eclipse.core.internal.utils.Messages;

3. WARNING: DiscouragedReference

Discouraged access: The type Messages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar

J2EEModuleFacetInstallDataModelProvider.java :

292 : String message = NLS.bind(Messages.resources_invalidCharInName, "#", folderName); //$NON-NLS-1$

4. WARNING: DiscouragedReference

Discouraged access: The field resources_invalidCharInName from the type Messages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar

J2EEModuleFacetInstallDataModelProvider.java :

292 : String message = NLS.bind(Messages.resources_invalidCharInName, "#", folderName); //$NON-NLS-1$

5. WARNING: DiscouragedReference

Discouraged access: The constructor ResourceStatus(int, IPath, String) is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar

J2EEModuleFacetInstallDataModelProvider.java :

293 : status = new ResourceStatus(IResourceStatus.INVALID_VALUE, null, message);

6. WARNING: DiscouragedReference

Discouraged access: The type ResourceStatus is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar

J2EEModuleFacetInstallDataModelProvider.java :

293 : status = new ResourceStatus(IResourceStatus.INVALID_VALUE, null, message);

Source File: org/eclipse/jst/j2ee/internal/application/provider/ApplicationItemProvider.java
1. WARNING: UnusedImport

The import org.eclipse.emf.edit.command.AddCommand is never used

ApplicationItemProvider.java :

22 : import org.eclipse.emf.edit.command.AddCommand;

2. WARNING: UnusedImport

The import org.eclipse.emf.edit.command.RemoveCommand is never used

ApplicationItemProvider.java :

23 : import org.eclipse.emf.edit.command.RemoveCommand;

Source File: org/eclipse/jst/j2ee/internal/provider/ApplicationClientItemProvider.java
1. WARNING: UnusedImport

The import org.eclipse.emf.edit.command.AddCommand is never used

ApplicationClientItemProvider.java :

25 : import org.eclipse.emf.edit.command.AddCommand;

2. WARNING: UnusedImport

The import org.eclipse.emf.edit.command.RemoveCommand is never used

ApplicationClientItemProvider.java :

26 : import org.eclipse.emf.edit.command.RemoveCommand;

Source File: org/eclipse/jst/j2ee/internal/provider/EARProjectMapItemProvider.java
1. WARNING: UnusedImport

The import org.eclipse.emf.edit.command.AddCommand is never used

EARProjectMapItemProvider.java :

23 : import org.eclipse.emf.edit.command.AddCommand;

2. WARNING: UnusedImport

The import org.eclipse.emf.edit.command.RemoveCommand is never used

EARProjectMapItemProvider.java :

24 : import org.eclipse.emf.edit.command.RemoveCommand;

Source File: org/eclipse/jst/j2ee/project/facet/AppClientFacetInstallDelegate.java
1. WARNING: LocalVariableIsNeverUsed

The local variable c is never read

AppClientFacetInstallDelegate.java :

61 : final IVirtualComponent c = createFlexibleProject(monitor, project, model, jproj, fv);

Source File: org/eclipse/jst/j2ee/classpathdep/ClasspathDependencyUtil.java
1. WARNING: LocalVariableIsNeverUsed

The local variable runtimePath is never read

ClasspathDependencyUtil.java :

480 : final IPath runtimePath = ref.getRuntimePath();

Source File: org/eclipse/jst/javaee/ltk/core/change/DeleteEJBClientProjectChange.java
1. WARNING: DiscouragedReference

Discouraged access: The type ResourceException is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar

DeleteEJBClientProjectChange.java :

14 : import org.eclipse.core.internal.resources.ResourceException;

2. WARNING: DiscouragedReference

Discouraged access: The type ResourceException is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar

DeleteEJBClientProjectChange.java :

38 : }catch(ResourceException e){

Source File: org/eclipse/jst/javaee/ltk/core/change/NonEARModuleReferenceRemoveChange.java
1. WARNING: LocalVariableIsNeverUsed

The local variable dependentComp is never read

NonEARModuleReferenceRemoveChange.java :

168 : final IVirtualComponent dependentComp = referencingModuleProjectComp;

2. WARNING: LocalVariableIsNeverUsed

The local variable webLibDep is never read

NonEARModuleReferenceRemoveChange.java :

173 : final boolean webLibDep = hasWebLibDependency(ref);