Compiler Report

Compiler: Eclipse Java Compiler Version: 0.868, 3.4.0 release candidate-2

Number of source files: 174 Number of classfiles: 228

Problems: 115 (Errors: 0 Warnings: 115 )

Source File: org/eclipse/jst/j2ee/classpath/tests/ClasspathDependencyEARTests.java
1. WARNING: LocalVariableIsNeverUsed

The local variable output is never read

ClasspathDependencyEARTests.java :

364 : IFolder output = util.getFolder("build").getFolder("classes");

2. WARNING: LocalVariableIsNeverUsed

The local variable utilComp is never read

ClasspathDependencyEARTests.java :

371 : final IVirtualComponent utilComp = ComponentCore.createComponent(util);

Source File: org/eclipse/jst/j2ee/classpath/tests/ClasspathDependencyValidationTests.java
1. WARNING: LocalVariableIsNeverUsed

The local variable webJavaProject is never read

ClasspathDependencyValidationTests.java :

190 : final IJavaProject webJavaProject = JavaCore.create(webProject);

2. WARNING: LocalVariableIsNeverUsed

The local variable earLibContainer is never read

ClasspathDependencyValidationTests.java :

295 : IClasspathEntry earLibContainer = null;

3. WARNING: LocalVariableIsNeverUsed

The local variable webAppLibContainer is never read

ClasspathDependencyValidationTests.java :

296 : IClasspathEntry webAppLibContainer = null;

4. WARNING: LocalVariableIsNeverUsed

The local variable jreContainer is never read

ClasspathDependencyValidationTests.java :

297 : IClasspathEntry jreContainer = null;

5. WARNING: UnusedPrivateMethod

The method testInvalidContainer(IJavaProject, IClasspathEntry) from the type ClasspathDependencyValidationTests is never used locally

ClasspathDependencyValidationTests.java :

326 : private void testInvalidContainer(final IJavaProject javaProject, final IClasspathEntry entry) throws Exception {

Source File: org/eclipse/jst/j2ee/classpath/tests/ClasspathDependencyWebTests.java
1. WARNING: LocalVariableIsNeverUsed

The local variable utilComp is never read

ClasspathDependencyWebTests.java :

234 : final IVirtualComponent utilComp = ComponentCore.createComponent(util);

Source File: org/eclipse/jst/j2ee/dependency/tests/util/DependencyUtil.java
1. WARNING: LocalVariableIsNeverUsed

The local variable jobMgr is never read

DependencyUtil.java :

66 : final IJobManager jobMgr = Platform.getJobManager();

2. WARNING: LocalVariableIsNeverUsed

The local variable jobMgr is never read

DependencyUtil.java :

76 : final IJobManager jobMgr = Platform.getJobManager();

Source File: org/eclipse/jst/j2ee/dependency/tests/util/ProjectUtil.java
1. WARNING: UnusedPrivateField

The field ProjectUtil.listener is never read locally

ProjectUtil.java :

362 : private static ClasspathUpdateJobListener listener = new ClasspathUpdateJobListener();

Source File: org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/AppClientArtifactEditFVTest.java
1. WARNING: UnusedPrivateField

The field AppClientArtifactEditFVTest.appClientModuleName is never read locally

AppClientArtifactEditFVTest.java :

19 : private String appClientModuleName;

2. WARNING: UnusedPrivateMethod

The method validateResource() from the type AppClientArtifactEditFVTest is never used locally

AppClientArtifactEditFVTest.java :

84 : private void validateResource() {

3. WARNING: UnusedPrivateMethod

The method createResourceComponent() from the type AppClientArtifactEditFVTest is never used locally

AppClientArtifactEditFVTest.java :

99 : private ComponentResource createResourceComponent() {

Source File: org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/AppClientArtifactEditTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable testURI is never read

AppClientArtifactEditTest.java :

202 : boolean testURI = uri.equals(TestWorkspace.APP_CLIENT_DD_XMI_RESOURCE_URI);

2. WARNING: LocalVariableIsNeverUsed

The local variable resource is never read

AppClientArtifactEditTest.java :

220 : Resource resource = edit.getDeploymentDescriptorResource();

3. WARNING: LocalVariableIsNeverUsed

The local variable edit2 is never read

AppClientArtifactEditTest.java :

221 : AppClientArtifactEdit edit2 = new AppClientArtifactEdit(getArtifactEditModelforRead()) {

4. WARNING: LocalVariableIsNeverUsed

The local variable wbComponent is never read

AppClientArtifactEditTest.java :

266 : WorkbenchComponent wbComponent = moduleCore.getComponent();

5. WARNING: LocalVariableIsNeverUsed

The local variable wbComponent is never read

AppClientArtifactEditTest.java :

285 : WorkbenchComponent wbComponent = moduleCore.getComponent();

6. WARNING: LocalVariableIsNeverUsed

The local variable object is never read

AppClientArtifactEditTest.java :

398 : Object object = edit.getContentModelRoot();

Source File: org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/ConnectorArtifactEditFVTest.java
1. WARNING: UnusedPrivateField

The field ConnectorArtifactEditFVTest.jcaModuleName is never read locally

ConnectorArtifactEditFVTest.java :

19 : private String jcaModuleName;

2. WARNING: UnusedPrivateMethod

The method pass(ApplicationClient) from the type ConnectorArtifactEditFVTest is never used locally

ConnectorArtifactEditFVTest.java :

82 : private static void pass(ApplicationClient jca) {

3. WARNING: UnusedPrivateMethod

The method validateResource() from the type ConnectorArtifactEditFVTest is never used locally

ConnectorArtifactEditFVTest.java :

87 : private void validateResource() {

4. WARNING: UnusedPrivateMethod

The method createResourceComponent() from the type ConnectorArtifactEditFVTest is never used locally

ConnectorArtifactEditFVTest.java :

101 : private ComponentResource createResourceComponent() {

Source File: org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/ConnectorArtifactEditTest.java
1. WARNING: UnusedPrivateField

The field ConnectorArtifactEditTest.jcaModuleName is never read locally

ConnectorArtifactEditTest.java :

20 : private String jcaModuleName;

2. WARNING: LocalVariableIsNeverUsed

The local variable wbComponent is never read

ConnectorArtifactEditTest.java :

84 : WorkbenchComponent wbComponent = null;

3. WARNING: LocalVariableIsNeverUsed

The local variable wbComponent is never read

ConnectorArtifactEditTest.java :

112 : WorkbenchComponent wbComponent = moduleCore.getComponent();

4. WARNING: LocalVariableIsNeverUsed

The local variable wbComponent is never read

ConnectorArtifactEditTest.java :

131 : WorkbenchComponent wbComponent = moduleCore.getComponent();

Source File: org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EARArtifactEditTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable wbComponent is never read

EARArtifactEditTest.java :

119 : WorkbenchComponent wbComponent = null;

2. WARNING: LocalVariableIsNeverUsed

The local variable wbComponent is never read

EARArtifactEditTest.java :

147 : WorkbenchComponent wbComponent = moduleCore.getComponent();

3. WARNING: LocalVariableIsNeverUsed

The local variable uriExist is never read

EARArtifactEditTest.java :

281 : boolean uriExist = edit.uriExists(TestWorkspace.EJB_MODULE_URI.toString());

Source File: org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EJBArtifactEditFVTest.java
1. WARNING: UnusedPrivateField

The field EJBArtifactEditFVTest.ejbModuleName is never read locally

EJBArtifactEditFVTest.java :

30 : private String ejbModuleName;

2. WARNING: UnusedPrivateMethod

The method validateResource() from the type EJBArtifactEditFVTest is never used locally

EJBArtifactEditFVTest.java :

92 : private void validateResource() {

3. WARNING: UnusedPrivateMethod

The method createResourceComponent() from the type EJBArtifactEditFVTest is never used locally

EJBArtifactEditFVTest.java :

106 : private ComponentResource createResourceComponent() {

Source File: org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EJBArtifactEditTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable uri is never read

EJBArtifactEditTest.java :

165 : String uri = edit.getEJBJarXmiResource().toString();

2. WARNING: LocalVariableIsNeverUsed

The local variable test is never read

EJBArtifactEditTest.java :

254 : EnterpriseArtifactEdit test = new EJBArtifactEdit(getArtifactEditModelforRead()) {

3. WARNING: UnusedPrivateMethod

The method test() from the type new EJBArtifactEdit(){} is never used locally

EJBArtifactEditTest.java :

260 : public void test() {

Source File: org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EarArtiFactEditFVTest.java
1. WARNING: UnusedPrivateField

The field EarArtiFactEditFVTest.earModuleName is never read locally

EarArtiFactEditFVTest.java :

33 : private String earModuleName;

2. WARNING: UnusedPrivateMethod

The method pass(ApplicationClient) from the type EarArtiFactEditFVTest is never used locally

EarArtiFactEditFVTest.java :

95 : private static void pass(ApplicationClient ear) {

3. WARNING: UnusedPrivateMethod

The method validateResource() from the type EarArtiFactEditFVTest is never used locally

EarArtiFactEditFVTest.java :

100 : private void validateResource() {

4. WARNING: UnusedPrivateMethod

The method createResourceComponent() from the type EarArtiFactEditFVTest is never used locally

EarArtiFactEditFVTest.java :

114 : private ComponentResource createResourceComponent() {

Source File: org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EnterpriseArtifactEditTest.java
1. WARNING: UnusedPrivateField

The field EnterpriseArtifactEditTest.earModuleName is never read locally

EnterpriseArtifactEditTest.java :

26 : private String earModuleName;

2. WARNING: LocalVariableIsNeverUsed

The local variable wbComponent is never read

EnterpriseArtifactEditTest.java :

41 : WorkbenchComponent wbComponent = null;

Source File: org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/JaxRPCMapArtifactEditFVTest.java
1. WARNING: UnusedPrivateField

The field JaxRPCMapArtifactEditFVTest.serverContextData is never read locally

JaxRPCMapArtifactEditFVTest.java :

17 : private String serverContextData = TestWorkspace.WEB_SERVER_CONTEXT_ROOT + "Test";

2. WARNING: UnusedPrivateMethod

The method updateClient(WebServices) from the type JaxRPCMapArtifactEditFVTest is never used locally

JaxRPCMapArtifactEditFVTest.java :

30 : private void updateClient(WebServices client) {

3. WARNING: UnusedPrivateMethod

The method pass() from the type JaxRPCMapArtifactEditFVTest is never used locally

JaxRPCMapArtifactEditFVTest.java :

37 : private void pass() {

4. WARNING: LocalVariableIsNeverUsed

The local variable webapp is never read

JaxRPCMapArtifactEditFVTest.java :

51 : WebApp webapp = webedit.getWebApp();

5. WARNING: UnusedPrivateMethod

The method pass(WebServices) from the type JaxRPCMapArtifactEditFVTest is never used locally

JaxRPCMapArtifactEditFVTest.java :

56 : private static void pass(WebServices webservice) {

6. WARNING: UnusedPrivateMethod

The method validateResource() from the type JaxRPCMapArtifactEditFVTest is never used locally

JaxRPCMapArtifactEditFVTest.java :

63 : private void validateResource() {

Source File: org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WSDDArtifactEditFVTest.java
1. WARNING: UnusedPrivateField

The field WSDDArtifactEditFVTest.webModuleName is never read locally

WSDDArtifactEditFVTest.java :

16 : private String webModuleName;

2. WARNING: UnusedPrivateField

The field WSDDArtifactEditFVTest.serverContextData is never read locally

WSDDArtifactEditFVTest.java :

17 : private String serverContextData = TestWorkspace.WEB_SERVER_CONTEXT_ROOT + "Test";

3. WARNING: UnusedPrivateMethod

The method validateResource() from the type WSDDArtifactEditFVTest is never used locally

WSDDArtifactEditFVTest.java :

80 : private void validateResource() {

Source File: org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WebArtifactEditTest.java
1. WARNING: UnusedPrivateField

The field WebArtifactEditTest.webModuleName is never read locally

WebArtifactEditTest.java :

25 : private String webModuleName;

2. WARNING: LocalVariableIsNeverUsed

The local variable uri is never read

WebArtifactEditTest.java :

61 : String uri = edit.getDeploymentDescriptorResource().getURI().toString();

Source File: org/eclipse/jst/j2ee/flexible/project/fvtests/EJBDeployTest.java
1. WARNING: UnusedPrivateMethod

The method createProject(IProjectDescription, IProject, IProgressMonitor) from the type EJBDeployTest is never used locally

EJBDeployTest.java :

77 : private void createProject(IProjectDescription description, IProject projectHandle, IProgressMonitor monitor) throws CoreException, OperationCanceledException {

2. WARNING: LocalVariableIsNeverUsed

The local variable javaResource is never read

EJBDeployTest.java :

119 : IModuleResource javaResource = javaMembers[j];

3. WARNING: LocalVariableIsNeverUsed

The local variable operationStatus is never read

EJBDeployTest.java :

143 : IStatus operationStatus = dm.getDefaultOperation().execute(new NullProgressMonitor(), null);

4. WARNING: UnusedPrivateMethod

The method getResourceSet(String) from the type EJBDeployTest is never used locally

EJBDeployTest.java :

154 : private ProjectResourceSet getResourceSet(String projName) {

5. WARNING: UnusedPrivateMethod

The method createEarProject(String) from the type EJBDeployTest is never used locally

EJBDeployTest.java :

174 : private IProject createEarProject(String projName) throws ExecutionException {

6. WARNING: UnusedPrivateMethod

The method registerFactory(URI, ResourceSet, Resource.Factory) from the type EJBDeployTest is never used locally

EJBDeployTest.java :

213 : private void registerFactory(URI uri, ResourceSet resSet, Resource.Factory factory) {

7. WARNING: UnusedPrivateMethod

The method getResourceSet() from the type EJBDeployTest is never used locally

EJBDeployTest.java :

217 : private ResourceSet getResourceSet() {

Source File: org/eclipse/jst/j2ee/flexible/project/fvtests/PortedComponentCreationTest.java
1. WARNING: UnusedPrivateMethod

The method createConnectorComponent(int, String, String) from the type PortedComponentCreationTest is never used locally

PortedComponentCreationTest.java :

89 : private void createConnectorComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{

2. WARNING: UnusedPrivateMethod

The method createWebComponent(int, String, String) from the type PortedComponentCreationTest is never used locally

PortedComponentCreationTest.java :

98 : private void createWebComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{

3. WARNING: UnusedPrivateMethod

The method createAppClientComponent(int, String, String) from the type PortedComponentCreationTest is never used locally

PortedComponentCreationTest.java :

107 : private void createAppClientComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{

4. WARNING: UnusedPrivateMethod

The method createEjbComponent(int, String, String) from the type PortedComponentCreationTest is never used locally

PortedComponentCreationTest.java :

116 : private void createEjbComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{

5. WARNING: UnusedPrivateMethod

The method createEARComponent(int, String, String) from the type PortedComponentCreationTest is never used locally

PortedComponentCreationTest.java :

125 : private void createEARComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{

Source File: org/eclipse/jst/j2ee/flexible/project/fvtests/ProjectMigrationTest.java
1. WARNING: UnusedPrivateMethod

The method getOutputPath(IProject) from the type ProjectMigrationTest is never used locally

ProjectMigrationTest.java :

74 : private IPath getOutputPath(IProject project) {

Source File: org/eclipse/jst/j2ee/flexible/project/tests/Migrate07EJBTest.java
1. WARNING: UnusedPrivateMethod

The method pass() from the type Migrate07EJBTest is never used locally

Migrate07EJBTest.java :

45 : private void pass() {

Source File: org/eclipse/jst/j2ee/tests/modulecore/FlexibleProjectBuilderTest.java
1. WARNING: UnusedPrivateField

The field FlexibleProjectBuilderTest.emfContext is never read locally

FlexibleProjectBuilderTest.java :

42 : private EMFWorkbenchContext emfContext;

Source File: org/eclipse/jst/j2ee/tests/modulecore/ModuleStructuralModelTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable pm is never read

ModuleStructuralModelTest.java :

120 : ProjectComponents pm = moduleCore.getComponentModelRoot();

2. WARNING: LocalVariableIsNeverUsed

The local variable clazz is never read

ModuleStructuralModelTest.java :

121 : Class clazz = moduleCore.getClass();

3. WARNING: LocalVariableIsNeverUsed

The local variable name is never read

ModuleStructuralModelTest.java :

122 : String name = StructureEdit.getDeployedName(getWebModuleURI());

4. WARNING: LocalVariableIsNeverUsed

The local variable er is never read

ModuleStructuralModelTest.java :

129 : IResource er = StructureEdit.getEclipseResource(wmr);

5. WARNING: LocalVariableIsNeverUsed

The local variable b is never read

ModuleStructuralModelTest.java :

137 : boolean b = moduleCore.isLocalDependency(dependentModule);

Source File: org/eclipse/jst/jee/model/ejb/tests/DeleteProjectTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable secondModel is never read

DeleteProjectTest.java :

101 : EJBJar secondModel = (EJBJar) provider.getModelObject();

2. WARNING: LocalVariableIsNeverUsed

The local variable secondModel is never read

DeleteProjectTest.java :

144 : EJBJar secondModel = (EJBJar) provider.getModelObject();

Source File: org/eclipse/jst/jee/model/ejb/tests/EjbAnnotationFactoryTest.java
1. WARNING: UnusedImport

The import org.eclipse.jst.jee.model.internal.EjbAnnotationFactory is never used

EjbAnnotationFactoryTest.java :

21 : import org.eclipse.jst.jee.model.internal.EjbAnnotationFactory;

Source File: org/eclipse/jst/jee/model/ejb/tests/EjbAnnotationReaderTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable beans is never read

EjbAnnotationReaderTest.java :

177 : List<SessionBean> beans = getEJBJar().getEnterpriseBeans().getSessionBeans();

Source File: org/eclipse/jst/jee/model/ejb/tests/GenerateDDTest.java
1. WARNING: UnusedPrivateField

The field GenerateDDTest.EJB_JAR_CONTENT is never read locally

GenerateDDTest.java :

36 : private static final String EJB_JAR_CONTENT = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"

Source File: org/eclipse/jst/jee/model/tests/JEE5LegacyModelTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable operationStatus is never read

JEE5LegacyModelTest.java :

117 : IStatus operationStatus = importModel.getDefaultOperation().execute(new NullProgressMonitor(), null);

2. WARNING: UnusedPrivateMethod

The method registerFactory(URI, ResourceSet, Resource.Factory) from the type JEE5LegacyModelTest is never used locally

JEE5LegacyModelTest.java :

190 : private void registerFactory(URI uri, ResourceSet resSet, Resource.Factory factory) {

3. WARNING: UnusedPrivateMethod

The method getResourceSet() from the type JEE5LegacyModelTest is never used locally

JEE5LegacyModelTest.java :

194 : private ResourceSet getResourceSet() {

Source File: org/eclipse/jst/jee/model/tests/JEE5ModelTest.java
1. WARNING: UnusedPrivateMethod

The method createAppClientProject(String) from the type JEE5ModelTest is never used locally

JEE5ModelTest.java :

331 : private IProject createAppClientProject(String projName) throws ExecutionException {

2. WARNING: UnusedPrivateMethod

The method registerFactory(URI, ResourceSet, Resource.Factory) from the type JEE5ModelTest is never used locally

JEE5ModelTest.java :

407 : private void registerFactory(URI uri, ResourceSet resSet, Resource.Factory factory) {

3. WARNING: UnusedPrivateMethod

The method getResourceSet() from the type JEE5ModelTest is never used locally

JEE5ModelTest.java :

411 : private ResourceSet getResourceSet() {

Source File: org/eclipse/jst/jee/model/tests/ModelProviderTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable ear is never read

ModelProviderTest.java :

225 : org.eclipse.jst.j2ee.application.Application ear = (org.eclipse.jst.j2ee.application.Application) provider

2. WARNING: LocalVariableIsNeverUsed

The local variable client is never read

ModelProviderTest.java :

442 : ApplicationClient client = (ApplicationClient) provider

3. WARNING: LocalVariableIsNeverUsed

The local variable client is never read

ModelProviderTest.java :

471 : org.eclipse.jst.javaee.applicationclient.ApplicationClient client = (org.eclipse.jst.javaee.applicationclient.ApplicationClient) provider

4. WARNING: LocalVariableIsNeverUsed

The local variable client is never read

ModelProviderTest.java :

507 : org.eclipse.jst.javaee.applicationclient.ApplicationClient client = (org.eclipse.jst.javaee.applicationclient.ApplicationClient) provider

Source File: org/eclipse/jst/jee/model/web/tests/Web25MergedModelProviderTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable fragment is never read

Web25MergedModelProviderTest.java :

86 : IPackageFragment fragment = root.createPackageFragment("sap", true, new NullProgressMonitor());

2. WARNING: UnusedPrivateMethod

The method saveFileAndUpdate(IFile, String) from the type Web25MergedModelProviderTest is never used locally

Web25MergedModelProviderTest.java :

128 : private void saveFileAndUpdate(IFile webXml, String content) throws InterruptedException, Exception {

Source File: org/eclipse/jst/jee/model/web/tests/WebAnnotationReaderTest.java
1. WARNING: UnusedPrivateField

The field WebAnnotationReaderTest.BEAN_WITH_NAME is never read locally

WebAnnotationReaderTest.java :

47 : private static String BEAN_WITH_NAME = "package com.sap;" + "import javax.ejb.Stateless;"

Source File: org/eclipse/wtp/j2ee/headless/tests/ear/operations/EARProjectCreationOperationTest.java
1. WARNING: UnusedPrivateField

The field EARProjectCreationOperationTest.CONNECTOR_PROJ_15 is never read locally

EARProjectCreationOperationTest.java :

70 : private static final String CONNECTOR_PROJ_15 = "myConnector_15";

Source File: org/eclipse/wtp/j2ee/headless/tests/ejb/operations/AddEJBeanOperationTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable proj is never read

AddEJBeanOperationTest.java :

60 : IProject proj = ProjectUtilities.getProject(EJB_PROJECT_NAME);

2. WARNING: LocalVariableIsNeverUsed

The local variable proj is never read

AddEJBeanOperationTest.java :

78 : IProject proj = ProjectUtilities.getProject(EJB_PROJECT_NAME);

Source File: org/eclipse/wtp/j2ee/headless/tests/ejb/operations/EJBExportOperationTest.java
1. WARNING: UnusedPrivateMethod

The method addStateless(IDataModel) from the type EJBExportOperationTest is never used locally

EJBExportOperationTest.java :

85 : private void addStateless(IDataModel dm) throws Exception {

Source File: org/eclipse/wtp/j2ee/headless/tests/ejb/operations/EJBGeneraUseTest.java
1. WARNING: NonStaticAccessToStaticMethod

The static method runAndVerify(IDataModel) from the type OperationTestCase should be accessed in a static way

EJBGeneraUseTest.java :

57 : this.runAndVerify(model);

2. WARNING: NonStaticAccessToStaticMethod

The static method runAndVerify(IDataModel) from the type OperationTestCase should be accessed in a static way

EJBGeneraUseTest.java :

79 : this.runAndVerify(model);

3. WARNING: NonStaticAccessToStaticMethod

The static method runAndVerify(IDataModel) from the type OperationTestCase should be accessed in a static way

EJBGeneraUseTest.java :

97 : this.runAndVerify(model);

4. WARNING: NullLocalVariableReference

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

EJBGeneraUseTest.java :

104 : Assert.assertTrue("The file " + this.FILE1 + " should exsist in the project.", file.exists());

Source File: org/eclipse/jst/j2ee/defect/tests/DefectVerificationTests.java
1. WARNING: LocalVariableIsNeverUsed

The local variable javaProject is never read

DefectVerificationTests.java :

700 : IJavaProject javaProject = JavaCore.create(proj);

2. WARNING: UnusedPrivateMethod

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

DefectVerificationTests.java :

770 : private String getWarFile(String fileName) {

3. WARNING: UnusedPrivateMethod

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

DefectVerificationTests.java :

774 : private void checkIfModelIsParsed(WebApp deploymentDescriptor1) {

Source File: org/eclipse/wtp/headless/tests/savestrategy/ThreadingTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable project is never read

ThreadingTest.java :

169 : IProject project = StructureEdit.getContainingProject(writeStructureEdits[structureEditCount][projectCount].getComponent());

Source File: org/eclipse/wtp/j2ee/headless/tests/ejb/verifiers/EJBImportDataModelVerifier.java
1. WARNING: LocalVariableIsNeverUsed

The local variable nestedArchive is never read

EJBImportDataModelVerifier.java :

70 : for(IArchive nestedArchive : nestedArchives) {

Source File: org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/JEEExportDataModelVerifier.java
1. WARNING: LocalVariableIsNeverUsed

The local variable iProjVersion is never read

JEEExportDataModelVerifier.java :

59 : int iProjVersion = J2EEVersionUtil.convertVersionStringToInt(sProjVersion);

Source File: org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/JEEProjectCreationDataModelVerifier.java
1. WARNING: LocalVariableIsNeverUsed

The local variable facetModel is never read

JEEProjectCreationDataModelVerifier.java :

106 : IDataModel facetModel = facetMap.getFacetDataModel(facetProjectType);

Source File: org/eclipse/wtp/j2ee/headless/tests/jca/verifiers/JCAImportDataModelVerifier.java
1. WARNING: LocalVariableIsNeverUsed

The local variable nestedArchive is never read

JCAImportDataModelVerifier.java :

70 : for(IArchive nestedArchive : nestedArchives) {

Source File: org/eclipse/wtp/j2ee/headless/tests/utility/verifiers/UtilityImportDataModelVerifier.java
1. WARNING: LocalVariableIsNeverUsed

The local variable nestedArchive is never read

UtilityImportDataModelVerifier.java :

81 : for(IArchive nestedArchive : nestedArchives) {

Source File: org/eclipse/wtp/j2ee/headless/tests/web/verifiers/WebImportDataModelVerifier.java
1. WARNING: LocalVariableIsNeverUsed

The local variable nestedArchive is never read

WebImportDataModelVerifier.java :

78 : for(IArchive nestedArchive : nestedArchives) {

Source File: org/eclipse/wtp/j2ee/headless/tets/appclient/verifiers/AppClientImportDataModelVerifier.java
1. WARNING: LocalVariableIsNeverUsed

The local variable nestedArchive is never read

AppClientImportDataModelVerifier.java :

72 : for(IArchive nestedArchive : nestedArchives) {

Source File: org/eclipse/wtp/j2ee/headless/tets/appclient/verifiers/AppClientProjectCreationDataModelVerifier.java
1. WARNING: LocalVariableIsNeverUsed

The local variable proj is never read

AppClientProjectCreationDataModelVerifier.java :

73 : IProject proj = ProjectUtilities.getProject(projName);

Source File: org/eclipse/wtp/j2ee/headless/tets/ear/verifiers/EARImportDataModelVerifier.java
1. WARNING: LocalVariableIsNeverUsed

The local variable utilityList is never read

EARImportDataModelVerifier.java :

103 : List utilityList = (List)model.getProperty(IEARComponentImportDataModelProperties.UTILITY_LIST);

2. WARNING: LocalVariableIsNeverUsed

The local variable ejbClientList is never read

EARImportDataModelVerifier.java :

104 : List ejbClientList = (List)model.getProperty(IEARComponentImportDataModelProperties.EJB_CLIENT_LIST);

3. WARNING: LocalVariableIsNeverUsed

The local variable utilityModelsList is never read

EARImportDataModelVerifier.java :

105 : List utilityModelsList = (List)model.getProperty(IEARComponentImportDataModelProperties.UTILITY_MODELS_LIST);