Compiler Report

Compiler: Eclipse Compiler for Java(TM) Version: 0.B76_R37x, 3.7.1

Number of source files: 181 Number of classfiles: 244

Problems: 124 (Errors: 0 Warnings: 124 )

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

The value of the local variable webComp is not used

ClasspathDependencyEARTests.java :

223 : IVirtualComponent webComp = createWebProject(JEE5);

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable output is not used

ClasspathDependencyEARTests.java :

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

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable utilComp is not used

ClasspathDependencyEARTests.java :

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

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable entry is not used

ClasspathDependencyEARTests.java :

630 : IClasspathEntry entry = (IClasspathEntry) entries.get(0);

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

The value of the local variable webJavaProject is not used

ClasspathDependencyValidationTests.java :

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

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable earLibContainer is not used

ClasspathDependencyValidationTests.java :

295 : IClasspathEntry earLibContainer = null;

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable webAppLibContainer is not used

ClasspathDependencyValidationTests.java :

296 : IClasspathEntry webAppLibContainer = null;

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable jreContainer is not used

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 value of the local variable utilComp is not used

ClasspathDependencyWebTests.java :

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

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable entry is not used

ClasspathDependencyWebTests.java :

417 : IClasspathEntry entry = (IClasspathEntry) entries.get(0);

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

The value of the local variable jobMgr is not used

DependencyUtil.java :

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

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable jobMgr is not used

DependencyUtil.java :

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

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

The value of the field ProjectUtil.listener is not used

ProjectUtil.java :

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

2. WARNING: UnusedPrivateField

The value of the field ProjectUtil.ClasspathUpdateJobListener.isDone is not used

ProjectUtil.java :

368 : public boolean isDone = false;

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

The value of the field AppClientArtifactEditFVTest.appClientModuleName is not used

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 value of the local variable testURI is not used

AppClientArtifactEditTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable resource is not used

AppClientArtifactEditTest.java :

220 : Resource resource = edit.getDeploymentDescriptorResource();

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable edit2 is not used

AppClientArtifactEditTest.java :

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

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable wbComponent is not used

AppClientArtifactEditTest.java :

266 : WorkbenchComponent wbComponent = moduleCore.getComponent();

5. WARNING: LocalVariableIsNeverUsed

The value of the local variable wbComponent is not used

AppClientArtifactEditTest.java :

285 : WorkbenchComponent wbComponent = moduleCore.getComponent();

6. WARNING: LocalVariableIsNeverUsed

The value of the local variable object is not used

AppClientArtifactEditTest.java :

398 : Object object = edit.getContentModelRoot();

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

The value of the field ConnectorArtifactEditFVTest.jcaModuleName is not used

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 value of the field ConnectorArtifactEditTest.jcaModuleName is not used

ConnectorArtifactEditTest.java :

20 : private String jcaModuleName;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable wbComponent is not used

ConnectorArtifactEditTest.java :

84 : WorkbenchComponent wbComponent = null;

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable wbComponent is not used

ConnectorArtifactEditTest.java :

112 : WorkbenchComponent wbComponent = moduleCore.getComponent();

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable wbComponent is not used

ConnectorArtifactEditTest.java :

131 : WorkbenchComponent wbComponent = moduleCore.getComponent();

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

The value of the local variable wbComponent is not used

EARArtifactEditTest.java :

119 : WorkbenchComponent wbComponent = null;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable wbComponent is not used

EARArtifactEditTest.java :

147 : WorkbenchComponent wbComponent = moduleCore.getComponent();

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable uriExist is not used

EARArtifactEditTest.java :

279 : 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 value of the field EJBArtifactEditFVTest.ejbModuleName is not used

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 value of the local variable uri is not used

EJBArtifactEditTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable test is not used

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 value of the field EarArtiFactEditFVTest.earModuleName is not used

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 value of the field EnterpriseArtifactEditTest.earModuleName is not used

EnterpriseArtifactEditTest.java :

26 : private String earModuleName;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable wbComponent is not used

EnterpriseArtifactEditTest.java :

41 : WorkbenchComponent wbComponent = null;

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

The value of the field JaxRPCMapArtifactEditFVTest.serverContextData is not used

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 value of the local variable webapp is not used

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 value of the field WSDDArtifactEditFVTest.webModuleName is not used

WSDDArtifactEditFVTest.java :

16 : private String webModuleName;

2. WARNING: UnusedPrivateField

The value of the field WSDDArtifactEditFVTest.serverContextData is not used

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 value of the field WebArtifactEditTest.webModuleName is not used

WebArtifactEditTest.java :

25 : private String webModuleName;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable uri is not used

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 value of the local variable javaResource is not used

EJBDeployTest.java :

119 : IModuleResource javaResource = javaMembers[j];

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable operationStatus is not used

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 :

152 : private ProjectResourceSet getResourceSet(String projName) {

5. WARNING: UnusedPrivateMethod

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

EJBDeployTest.java :

172 : 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 :

211 : 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 :

215 : 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/tests/modulecore/FlexibleProjectBuilderTest.java
1. WARNING: UnusedPrivateField

The value of the field FlexibleProjectBuilderTest.emfContext is not used

FlexibleProjectBuilderTest.java :

42 : private EMFWorkbenchContext emfContext;

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

The value of the local variable pm is not used

ModuleStructuralModelTest.java :

120 : ProjectComponents pm = moduleCore.getComponentModelRoot();

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable clazz is not used

ModuleStructuralModelTest.java :

121 : Class clazz = moduleCore.getClass();

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable name is not used

ModuleStructuralModelTest.java :

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

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable er is not used

ModuleStructuralModelTest.java :

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

5. WARNING: LocalVariableIsNeverUsed

The value of the local variable b is not used

ModuleStructuralModelTest.java :

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

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

The value of the local variable secondModel is not used

DeleteProjectTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable secondModel is not used

DeleteProjectTest.java :

140 : 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 :

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

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

The value of the local variable beans is not used

EjbAnnotationReaderTest.java :

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

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

The value of the field GenerateDDTest.EJB_JAR_CONTENT is not used

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 value of the local variable operationStatus is not used

JEE5LegacyModelTest.java :

111 : 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 :

183 : 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 :

187 : private ResourceSet getResourceSet() {

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

The method addWebProjectProperties(IDataModel, String, IProjectFacetVersion) from the type JEE5ModelTest is never used locally

JEE5ModelTest.java :

352 : private void addWebProjectProperties(IDataModel dataModel, String projName, IProjectFacetVersion web25){

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/JEE6ModelTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable javaFacet is not used

JEE6ModelTest.java :

359 : IProjectFacet javaFacet = ProjectFacetsManager.getProjectFacet(IJ2EEFacetConstants.JAVA);

2. WARNING: UnusedPrivateMethod

The method addWebProjectProperties(IDataModel, String, IProjectFacetVersion) from the type JEE6ModelTest is never used locally

JEE6ModelTest.java :

436 : private void addWebProjectProperties(IDataModel dataModel, String projName, IProjectFacetVersion web25){

3. WARNING: UnusedPrivateMethod

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

JEE6ModelTest.java :

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

4. WARNING: UnusedPrivateMethod

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

JEE6ModelTest.java :

495 : private ResourceSet getResourceSet() {

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

The value of the local variable ear is not used

ModelProviderTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable client is not used

ModelProviderTest.java :

524 : ApplicationClient client = (ApplicationClient) provider

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable client is not used

ModelProviderTest.java :

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

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable client is not used

ModelProviderTest.java :

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

5. WARNING: LocalVariableIsNeverUsed

The value of the local variable client is not used

ModelProviderTest.java :

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

Source File: org/eclipse/jst/jee/model/web/tests/TestWebXmlModelAfterUpdate.java
1. WARNING: UnusedWarningToken

Unnecessary @SuppressWarnings("restriction")

TestWebXmlModelAfterUpdate.java :

53 : @SuppressWarnings("restriction")

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

The value of the local variable fragment is not used

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/Web3AnnotationReaderTest.java
1. WARNING: UnusedPrivateField

The value of the field Web3AnnotationReaderTest.BEAN_WITH_NAME is not used

Web3AnnotationReaderTest.java :

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

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

The value of the field WebAnnotationReaderTest.BEAN_WITH_NAME is not used

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 value of the field EARProjectCreationOperationTest.CONNECTOR_PROJ_15 is not used

EARProjectCreationOperationTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable initializer is not used

EARProjectCreationOperationTest.java :

477 : ClasspathContainerInitializer initializer= JavaCore.getClasspathContainerInitializer(JavaCore.USER_LIBRARY_CONTAINER_ID);

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

The value of the local variable proj is not used

AddEJBeanOperationTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable proj is not used

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 value of the local variable moduleList is not used

DefectVerificationTests.java :

251 : List moduleList = (List) model.getProperty(IEARComponentImportDataModelProperties.SELECTED_MODELS_LIST);

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable javaProject is not used

DefectVerificationTests.java :

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

3. WARNING: UnusedPrivateMethod

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

DefectVerificationTests.java :

769 : private void checkIfModelIsParsed(WebApp deploymentDescriptor1) {

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

The value of the local variable project is not used

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 value of the local variable nestedArchive is not used

EJBImportDataModelVerifier.java :

71 : for(IArchive nestedArchive : nestedArchives) {

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

The value of the local variable iProjVersion is not used

JEEExportDataModelVerifier.java :

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

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

The value of the local variable nestedArchive is not used

JCAImportDataModelVerifier.java :

71 : for(IArchive nestedArchive : nestedArchives) {

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

The value of the local variable nestedArchive is not used

UtilityImportDataModelVerifier.java :

82 : for(IArchive nestedArchive : nestedArchives) {

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

The value of the local variable nestedArchive is not used

WebImportDataModelVerifier.java :

79 : for(IArchive nestedArchive : nestedArchives) {

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

The value of the local variable nestedArchive is not used

AppClientImportDataModelVerifier.java :

73 : for(IArchive nestedArchive : nestedArchives) {

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

The value of the local variable proj is not used

AppClientProjectCreationDataModelVerifier.java :

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

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

The value of the local variable utilityList is not used

EARImportDataModelVerifier.java :

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

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable ejbClientList is not used

EARImportDataModelVerifier.java :

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

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable utilityModelsList is not used

EARImportDataModelVerifier.java :

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