Compiler Report

Compiler: Eclipse Java Compiler Version: 0.770, 3.3.0

Number of source files: 82 Number of classfiles: 103

Problems: 77 (Errors: 0 Warnings: 77 )

Source File: org/eclipse/etools/common/tests/xml/DomComparitor.java
1. WARNING: LocalVariableIsNeverUsed

The local variable pInst1 is never read

DomComparitor.java:

129: ProcessingInstruction pInst1 = (ProcessingInstruction) node1;

2. WARNING: LocalVariableIsNeverUsed

The local variable pInst2 is never read

DomComparitor.java:

130: ProcessingInstruction pInst2 = (ProcessingInstruction) node2;

3. WARNING: LocalVariableIsNeverUsed

The local variable frag1 is never read

DomComparitor.java:

134: DocumentFragment frag1 = (DocumentFragment) node1;

4. WARNING: LocalVariableIsNeverUsed

The local variable frag2 is never read

DomComparitor.java:

135: DocumentFragment frag2 = (DocumentFragment) node2;

Source File: org/eclipse/etools/common/tests/xml/DomComparitorTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable source1 is never read

DomComparitorTest.java:

67: InputSource source1 = new InputSource(new FileReader(new File(testData + fileName1)));

2. WARNING: LocalVariableIsNeverUsed

The local variable source2 is never read

DomComparitorTest.java:

68: InputSource source2 = new InputSource(new FileReader(new File(testData + fileName2)));

3. WARNING: LocalVariableIsNeverUsed

The local variable source1 is never read

DomComparitorTest.java:

81: InputSource source1 = new InputSource(new FileReader(new File(testData + fileName1)));

4. WARNING: LocalVariableIsNeverUsed

The local variable source2 is never read

DomComparitorTest.java:

82: InputSource source2 = new InputSource(new FileReader(new File(testData + fileName2)));

Source File: org/eclipse/wst/common/extras/MemoryUsageTestSuite.java
1. WARNING: UnusedPrivateMethod

The method getOutputName() from the type MemoryUsageTestSuite is never used locally

MemoryUsageTestSuite.java:

63: private String getOutputName() {

2. WARNING: UnusedPrivateMethod

The method getMemoryName() from the type MemoryUsageTestSuite is never used locally

MemoryUsageTestSuite.java:

74: private String getMemoryName() {

Source File: org/eclipse/wst/common/frameworks/artifactedit/tests/ArtifactEditTest.java
1. WARNING: UnusedPrivateField

The field ArtifactEditTest.artifactEditModelForWrite is never read locally

ArtifactEditTest.java:

44: private ArtifactEditModel artifactEditModelForWrite;

2. WARNING: UnusedPrivateField

The field ArtifactEditTest.artifactEditForWrite is never read locally

ArtifactEditTest.java:

46: private ArtifactEdit artifactEditForWrite;

3. WARNING: LocalVariableIsNeverUsed

The local variable wbComponent is never read

ArtifactEditTest.java:

210: WorkbenchComponent wbComponent = moduleCore.getComponent();

4. WARNING: LocalVariableIsNeverUsed

The local variable object is never read

ArtifactEditTest.java:

330: Object object = edit.getContentModelRoot();

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/IVirtualComponentAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable name is never read

IVirtualComponentAPITest.java:

29: String name = component.getName();

2. WARNING: LocalVariableIsNeverUsed

The local variable properties is never read

IVirtualComponentAPITest.java:

42: Properties properties = component.getMetaProperties() ;

3. WARNING: LocalVariableIsNeverUsed

The local variable metaresources is never read

IVirtualComponentAPITest.java:

46: IPath[] metaresources = component.getMetaResources() ;

4. WARNING: LocalVariableIsNeverUsed

The local variable virtualResource is never read

IVirtualComponentAPITest.java:

61: IVirtualResource[] virtualResource = rootFolder.getResources(resource) ;

5. WARNING: LocalVariableIsNeverUsed

The local variable exists is never read

IVirtualComponentAPITest.java:

66: boolean exists = component.exists();

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/IVirtualContainerTestAPI.java
1. WARNING: LocalVariableIsNeverUsed

The local variable bRetValue is never read

IVirtualContainerTestAPI.java:

32: boolean bRetValue = container.exists(path);

2. WARNING: LocalVariableIsNeverUsed

The local variable resource is never read

IVirtualContainerTestAPI.java:

38: IVirtualResource resource= container.findMember(name);

3. WARNING: LocalVariableIsNeverUsed

The local variable resource is never read

IVirtualContainerTestAPI.java:

46: IVirtualResource resource= container.findMember(name,searchFlags);

4. WARNING: LocalVariableIsNeverUsed

The local variable resource is never read

IVirtualContainerTestAPI.java:

52: IVirtualResource resource= container.findMember(path);

5. WARNING: LocalVariableIsNeverUsed

The local variable resource is never read

IVirtualContainerTestAPI.java:

60: IVirtualResource resource= container.findMember(path,searchFlags);

6. WARNING: LocalVariableIsNeverUsed

The local variable resource is never read

IVirtualContainerTestAPI.java:

68: IVirtualResource resource= container.getFile(path);

7. WARNING: LocalVariableIsNeverUsed

The local variable resource is never read

IVirtualContainerTestAPI.java:

74: IVirtualResource resource= container.getFolder(path);

8. WARNING: LocalVariableIsNeverUsed

The local variable resource is never read

IVirtualContainerTestAPI.java:

80: IVirtualResource resource= container.getFile(name);

9. WARNING: LocalVariableIsNeverUsed

The local variable resource is never read

IVirtualContainerTestAPI.java:

86: IVirtualResource resource= container.getFolder(name);

10. WARNING: LocalVariableIsNeverUsed

The local variable resource is never read

IVirtualContainerTestAPI.java:

91: IVirtualResource[] resource= container.members();

11. WARNING: LocalVariableIsNeverUsed

The local variable resource is never read

IVirtualContainerTestAPI.java:

97: IVirtualResource[] resource= container.members(memberFlags);

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/IVirtualFileAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable file is never read

IVirtualFileAPITest.java:

43: IFile file = testFile1.getUnderlyingFile();

2. WARNING: LocalVariableIsNeverUsed

The local variable file is never read

IVirtualFileAPITest.java:

47: IFile[] file = testFile1.getUnderlyingFiles();

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/IVirtualReferenceAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable path is never read

IVirtualReferenceAPITest.java:

29: IPath path = reference.getRuntimePath();

2. WARNING: LocalVariableIsNeverUsed

The local variable dependencyType is never read

IVirtualReferenceAPITest.java:

40: int dependencyType = 0;

3. WARNING: LocalVariableIsNeverUsed

The local variable exists is never read

IVirtualReferenceAPITest.java:

46: boolean exists = reference.exists();

4. WARNING: LocalVariableIsNeverUsed

The local variable component is never read

IVirtualReferenceAPITest.java:

51: IVirtualComponent component = reference.getEnclosingComponent();

5. WARNING: LocalVariableIsNeverUsed

The local variable component is never read

IVirtualReferenceAPITest.java:

56: IVirtualComponent component = reference.getReferencedComponent();

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/ModuleCoreAPIFVTTest.java
1. WARNING: UnusedImport

The import org.eclipse.core.resources.IContainer is never used

ModuleCoreAPIFVTTest.java:

20: import org.eclipse.core.resources.IContainer;

2. WARNING: UnusedImport

The import org.eclipse.core.resources.IProject is never used

ModuleCoreAPIFVTTest.java:

22: import org.eclipse.core.resources.IProject;

3. WARNING: LocalVariableIsNeverUsed

The local variable root is never read

ModuleCoreAPIFVTTest.java:

221: IVirtualFolder root = rootFolder.getFolder(new Path("/")); //$NON-NLS-1$

4. WARNING: UnusedPrivateMethod

The method isDuplicated(WorkbenchComponent, IPath) from the type ModuleCoreAPIFVTTest is never used locally

ModuleCoreAPIFVTTest.java:

351: private boolean isDuplicated(WorkbenchComponent wbComponent, IPath runtimePath) {

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/ModuleCoreNatureAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable nature is never read

ModuleCoreNatureAPITest.java:

156: ModuleCoreNature nature = ModuleCoreNature.getModuleCoreNature(project);

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/ModuleCoreURIConverterUnitTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable resultURI is never read

ModuleCoreURIConverterUnitTest.java:

44: URI resultURI = converter.normalize(inputURI);

2. WARNING: LocalVariableIsNeverUsed

The local variable expectedURI is never read

ModuleCoreURIConverterUnitTest.java:

46: URI expectedURI = URI.createURI("platform:/resource/WebModule1/WebModule1/WebContent/WEB-INF/web.xml"); //$NON-NLS-1$

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/StructureEditAPITest.java
1. WARNING: UnusedPrivateField

The field StructureEditAPITest.zipFilePath is never read locally

StructureEditAPITest.java:

26: private Path zipFilePath = new Path("TestData" + fileSep + "TestArtifactEdit.zip");

2. WARNING: LocalVariableIsNeverUsed

The local variable moduleCore is never read

StructureEditAPITest.java:

413: StructureEdit moduleCore = null;

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/StructureEditStressTest.java
1. WARNING: UnusedPrivateField

The field StructureEditStressTest.zipFilePath is never read locally

StructureEditStressTest.java:

30: private Path zipFilePath = new Path("TestData" + fileSep + "TestArtifactEdit.zip");

Source File: org/eclipse/wst/common/frameworks/componentcore/virtualpath/tests/DefectVerificationTests.java
1. WARNING: UnusedPrivateMethod

The method getLocalPath() from the type DefectVerificationTests is never used locally

DefectVerificationTests.java:

65: private static IPath getLocalPath() {

Source File: org/eclipse/wst/common/frameworks/componentcore/virtualpath/tests/IVirtualComponentAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable name is never read

IVirtualComponentAPITest.java:

62: String name = virtualComponent.getName();

2. WARNING: LocalVariableIsNeverUsed

The local variable properties is never read

IVirtualComponentAPITest.java:

66: Properties properties = virtualComponent.getMetaProperties() ;

3. WARNING: LocalVariableIsNeverUsed

The local variable metaresources is never read

IVirtualComponentAPITest.java:

70: IPath[] metaresources = virtualComponent.getMetaResources() ;

4. WARNING: LocalVariableIsNeverUsed

The local variable virtualResource is never read

IVirtualComponentAPITest.java:

85: IVirtualResource[] virtualResource = rootFolder.getResources(resource) ;

Source File: org/eclipse/wst/common/frameworks/componentcore/virtualpath/tests/IVirtualContainerAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable foundFolder is never read

IVirtualContainerAPITest.java:

104: IVirtualFolder foundFolder = (IVirtualFolder) foundResource;

2. WARNING: LocalVariableIsNeverUsed

The local variable foundFile is never read

IVirtualContainerAPITest.java:

110: IVirtualFile foundFile = (IVirtualFile) foundResource;

3. WARNING: LocalVariableIsNeverUsed

The local variable foundFolder is never read

IVirtualContainerAPITest.java:

121: IVirtualFolder foundFolder = (IVirtualFolder) foundResource;

4. WARNING: LocalVariableIsNeverUsed

The local variable foundFile is never read

IVirtualContainerAPITest.java:

127: IVirtualFile foundFile = (IVirtualFile) foundResource;

5. WARNING: LocalVariableIsNeverUsed

The local variable foundFolder is never read

IVirtualContainerAPITest.java:

138: IVirtualFolder foundFolder = (IVirtualFolder) foundResource;

6. WARNING: LocalVariableIsNeverUsed

The local variable foundFile is never read

IVirtualContainerAPITest.java:

144: IVirtualFile foundFile = (IVirtualFile) foundResource;

7. WARNING: LocalVariableIsNeverUsed

The local variable foundFolder is never read

IVirtualContainerAPITest.java:

154: IVirtualFolder foundFolder = (IVirtualFolder) foundResource;

8. WARNING: LocalVariableIsNeverUsed

The local variable foundFile is never read

IVirtualContainerAPITest.java:

160: IVirtualFile foundFile = (IVirtualFile) foundResource;

Source File: org/eclipse/wst/common/frameworks/componentcore/virtualpath/tests/IVirtualReferenceAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable path is never read

IVirtualReferenceAPITest.java:

29: IPath path = reference.getRuntimePath();

2. WARNING: LocalVariableIsNeverUsed

The local variable dependencyType is never read

IVirtualReferenceAPITest.java:

40: int dependencyType = 0;

3. WARNING: LocalVariableIsNeverUsed

The local variable exists is never read

IVirtualReferenceAPITest.java:

46: boolean exists = reference.exists();

4. WARNING: LocalVariableIsNeverUsed

The local variable component is never read

IVirtualReferenceAPITest.java:

51: IVirtualComponent component = reference.getEnclosingComponent();

5. WARNING: LocalVariableIsNeverUsed

The local variable component is never read

IVirtualReferenceAPITest.java:

56: IVirtualComponent component = reference.getReferencedComponent();

Source File: org/eclipse/wst/common/frameworks/componentcore/virtualpath/tests/IVirtualResourceAPITest.java
1. WARNING: UnusedPrivateField

The field IVirtualResourceAPITest.PROJECT_NAME is never read locally

IVirtualResourceAPITest.java:

47: private static final String PROJECT_NAME = null;

Source File: org/eclipse/wst/common/frameworks/componentcore/virtualpath/tests/StructureEditTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable foundResources is never read

StructureEditTest.java:

42: List foundResources = new ArrayList();

Source File: org/eclipse/wst/common/frameworks/datamodel/tests/DataModelFactoryTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable exception is never read

DataModelFactoryTest.java:

22: Exception exception = null;

2. WARNING: LocalVariableIsNeverUsed

The local variable exception is never read

DataModelFactoryTest.java:

33: Exception exception = null;

3. WARNING: LocalVariableIsNeverUsed

The local variable exception is never read

DataModelFactoryTest.java:

44: Exception exception = null;

Source File: org/eclipse/etools/common/test/apitools/ProjectUnzipUtil.java
1. WARNING: DiscouragedReference

Discouraged access: The type ProjectDescription is not accessible due to restriction on classpath entry /shared/webtools/build-wtp-R2.0-R/eclipse/plugins/org.eclipse.core.resources_3.3.0.v20070604.jar

ProjectUnzipUtil.java:

13: import org.eclipse.core.internal.resources.ProjectDescription;

2. WARNING: DiscouragedReference

Discouraged access: The type ProjectDescriptionReader is not accessible due to restriction on classpath entry /shared/webtools/build-wtp-R2.0-R/eclipse/plugins/org.eclipse.core.resources_3.3.0.v20070604.jar

ProjectUnzipUtil.java:

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

3. WARNING: DiscouragedReference

Discouraged access: The type ProjectDescriptionReader is not accessible due to restriction on classpath entry /shared/webtools/build-wtp-R2.0-R/eclipse/plugins/org.eclipse.core.resources_3.3.0.v20070604.jar

ProjectUnzipUtil.java:

119: ProjectDescriptionReader pd = new ProjectDescriptionReader();

4. WARNING: DiscouragedReference

Discouraged access: The constructor ProjectDescriptionReader() is not accessible due to restriction on classpath entry /shared/webtools/build-wtp-R2.0-R/eclipse/plugins/org.eclipse.core.resources_3.3.0.v20070604.jar

ProjectUnzipUtil.java:

119: ProjectDescriptionReader pd = new ProjectDescriptionReader();

5. WARNING: DiscouragedReference

Discouraged access: The type ProjectDescriptionReader is not accessible due to restriction on classpath entry /shared/webtools/build-wtp-R2.0-R/eclipse/plugins/org.eclipse.core.resources_3.3.0.v20070604.jar

ProjectUnzipUtil.java:

119: ProjectDescriptionReader pd = new ProjectDescriptionReader();

6. WARNING: DiscouragedReference

Discouraged access: The type ProjectDescription is not accessible due to restriction on classpath entry /shared/webtools/build-wtp-R2.0-R/eclipse/plugins/org.eclipse.core.resources_3.3.0.v20070604.jar

ProjectUnzipUtil.java:

123: ProjectDescription description;

7. WARNING: DiscouragedReference

Discouraged access: The method read(IPath) from the type ProjectDescriptionReader is not accessible due to restriction on classpath entry /shared/webtools/build-wtp-R2.0-R/eclipse/plugins/org.eclipse.core.resources_3.3.0.v20070604.jar

ProjectUnzipUtil.java:

125: description = pd.read(path);