Compiler Report

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

Number of source files: 103 Number of classfiles: 106

Problems: 85 (Errors: 0 Warnings: 85 )

Source File: org/eclipse/jst/j2ee/archive/emftests/AppClientEMFEditTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable exampleDeploymentDesURI is not used

AppClientEMFEditTest.java :

54 : String exampleDeploymentDesURI = curDir + "EMFTests/application-client.xml";

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable curDeploymentDesURI is not used

AppClientEMFEditTest.java :

55 : String curDeploymentDesURI = curDir + out + "/AppClientfoo/META-INF/application-client.xml";

Source File: org/eclipse/jst/j2ee/archive/emftests/EarEMFEditTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable exampleDeploymentDesURI is not used

EarEMFEditTest.java :

60 : String exampleDeploymentDesURI = curDir + "EMFTests/application.xml";

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable curDeploymentDesURI is not used

EarEMFEditTest.java :

61 : String curDeploymentDesURI = curDir + out + "/META-INF/application.xml";

Source File: org/eclipse/jst/j2ee/archive/emftests/EjbEMFEditTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable exampleDeploymentDesURI is not used

EjbEMFEditTest.java :

94 : String exampleDeploymentDesURI = null;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable curDeploymentDesURI is not used

EjbEMFEditTest.java :

102 : String curDeploymentDesURI = out + "/META-INF/ejb-jar.xml";

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable curDir is not used

EjbEMFEditTest.java :

123 : String curDir = AutomatedBVT.baseDirectory;

Source File: org/eclipse/jst/j2ee/archive/emftests/GeneralEMFEditingTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable endCommentIndx is not used

GeneralEMFEditingTest.java :

247 : int endCommentIndx = 0;

Source File: org/eclipse/jst/j2ee/archive/emftests/GeneralEMFPopulationTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable pkg is not used

GeneralEMFPopulationTest.java :

137 : EPackage pkg = ref.getEType().getEPackage();

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable msg is not used

GeneralEMFPopulationTest.java :

283 : String msg = null;

Source File: org/eclipse/jst/j2ee/archive/emftests/RarEMFEditTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable exampleDeploymentDesURI is not used

RarEMFEditTest.java :

53 : String exampleDeploymentDesURI = curDir + "EMFTests/ra.xml";

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable curDeploymentDesURI is not used

RarEMFEditTest.java :

54 : String curDeploymentDesURI = curDir + out + "/fooRAR/META-INF/ra.xml";

Source File: org/eclipse/jst/j2ee/archive/emftests/ResolverTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable DD is not used

ResolverTest.java :

84 : EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable DD is not used

ResolverTest.java :

107 : EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();

Source File: org/eclipse/jst/j2ee/archive/emftests/WarEMFEditTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable exampleDeploymentDesURI is not used

WarEMFEditTest.java :

66 : String exampleDeploymentDesURI = curDir + "EMFTests/web.xml";

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable curDeploymentDesURI is not used

WarEMFEditTest.java :

67 : String curDeploymentDesURI = curDir + out + "/fooWAR/WEB-INF/web.xml";

Source File: org/eclipse/jst/j2ee/archive/emftests/WarEMFTest.java
1. WARNING: NonStaticAccessToStaticField

The static field ArchiveOptions.SAX should be accessed in a static way

WarEMFTest.java :

148 : options.setRendererType(options.SAX);

Source File: org/eclipse/jst/j2ee/archive/test/AbstractArchiveTest.java
1. WARNING: UnusedPrivateField

The value of the field AbstractArchiveTest.copyright is not used

AbstractArchiveTest.java :

27 : private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$

Source File: org/eclipse/jst/j2ee/archive/test/AllArchiveTestsJava.java
1. WARNING: UnusedPrivateField

The value of the field AllArchiveTestsJava.copyright is not used

AllArchiveTestsJava.java :

19 : private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$

Source File: org/eclipse/jst/j2ee/archive/test/ClientContainerResourceLoadTest.java
1. WARNING: UnusedPrivateField

The value of the field ClientContainerResourceLoadTest.copyright is not used

ClientContainerResourceLoadTest.java :

23 : private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable res is not used

ClientContainerResourceLoadTest.java :

66 : Resource res;

Source File: org/eclipse/jst/j2ee/archive/test/CopyTests.java
1. WARNING: UnusedPrivateField

The value of the field CopyTests.copyright is not used

CopyTests.java :

41 : private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$

Source File: org/eclipse/jst/j2ee/archive/test/DefectVerificationTests.java
1. WARNING: UnusedPrivateMethod

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

DefectVerificationTests.java :

148 : private void readFile(File file) throws FileNotFoundException, IOException {

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable appl is not used

DefectVerificationTests.java :

205 : Application appl = earFile.getDeploymentDescriptor();

Source File: org/eclipse/jst/j2ee/archive/test/DomComparitor.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable pInst1 is not used

DomComparitor.java :

131 : ProcessingInstruction pInst1 = (ProcessingInstruction)node1;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable pInst2 is not used

DomComparitor.java :

132 : ProcessingInstruction pInst2 = (ProcessingInstruction)node2;

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable frag1 is not used

DomComparitor.java :

136 : DocumentFragment frag1 = (DocumentFragment)node1;

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable frag2 is not used

DomComparitor.java :

137 : DocumentFragment frag2 = (DocumentFragment)node2;

Source File: org/eclipse/jst/j2ee/archive/test/InitializationTests.java
1. WARNING: UnusedPrivateField

The value of the field InitializationTests.copyright is not used

InitializationTests.java :

29 : private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$

Source File: org/eclipse/jst/j2ee/archive/test/JavaTests.java
1. WARNING: UnusedPrivateField

The value of the field JavaTests.copyright is not used

JavaTests.java :

22 : private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$

Source File: org/eclipse/jst/j2ee/archive/test/LooseArchiveTests.java
1. WARNING: DeadCode

Dead code

LooseArchiveTests.java :

152 : for (int i = 0; i < files.size(); i++) {

Source File: org/eclipse/jst/j2ee/archive/test/RarFileTests.java
1. WARNING: UnusedPrivateField

The value of the field RarFileTests.copyright is not used

RarFileTests.java :

35 : private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable dd is not used

RarFileTests.java :

167 : Connector dd = rarFile.getDeploymentDescriptor();

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable myAuthList is not used

RarFileTests.java :

199 : EList myAuthList = rd.getAuthenticationMechanisms();

Source File: org/eclipse/jst/j2ee/archive/test/ResourceTests.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable bean is not used

ResourceTests.java :

96 : EnterpriseBean bean = (EnterpriseBean)jar.getDeploymentDescriptor().getEnterpriseBeans().get(0);

Source File: org/eclipse/jst/j2ee/archive/test/SaveTests.java
1. WARNING: UnusedPrivateField

The value of the field SaveTests.copyright is not used

SaveTests.java :

31 : private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$

Source File: org/eclipse/jst/j2ee/archive/test/SecurityRoleTests.java
1. WARNING: UnusedPrivateField

The value of the field SecurityRoleTests.copyright is not used

SecurityRoleTests.java :

29 : private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$

Source File: org/eclipse/jst/j2ee/archive/test/SimpleTests.java
1. WARNING: UnusedPrivateField

The value of the field SimpleTests.copyright is not used

SimpleTests.java :

54 : private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable jar is not used

SimpleTests.java :

111 : EJBJar jar = jarFile.getDeploymentDescriptor();

Source File: org/eclipse/jst/j2ee/archive/test/TestModuleClassLoading.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable filename is not used

TestModuleClassLoading.java :

67 : String filename = files[i];

Source File: org/eclipse/jst/j2ee/archive/test/WARFileTests.java
1. WARNING: UnusedPrivateField

The value of the field WARFileTests.copyright is not used

WARFileTests.java :

32 : private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable libs is not used

WARFileTests.java :

98 : List libs = aWarFile.getLibs();

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable classes is not used

WARFileTests.java :

99 : List classes = aWarFile.getClasses();

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable resources is not used

WARFileTests.java :

100 : List resources = aWarFile.getResources();

Source File: org/eclipse/jst/j2ee/archive/testutilities/J2EEVersionCheck.java
1. WARNING: UnusedPrivateMethod

The method populate_1_2List(int) from the type J2EEVersionCheck is never used locally

J2EEVersionCheck.java :

86 : private static void populate_1_2List(int type) {

2. WARNING: UnusedPrivateMethod

The method populate_1_2Connector() from the type J2EEVersionCheck is never used locally

J2EEVersionCheck.java :

140 : private static void populate_1_2Connector(){

Source File: org/eclipse/jst/j2ee/common/test/CommonFactoryTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable tmpCommonFactory is not used

CommonFactoryTest.java :

39 : CommonFactory tmpCommonFactory =getInstance();

Source File: org/eclipse/jst/j2ee/common/test/CompatibilityDescriptionGroupTest.java
1. WARNING: UnusedPrivateMethod

The method getInstance() from the type CompatibilityDescriptionGroupTest is never used locally

CompatibilityDescriptionGroupTest.java :

10 : private CompatibilityDescriptionGroup getInstance() {

Source File: org/eclipse/jst/j2ee/common/tests/CompatibilityDescriptionGroupTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type CompatibilityDescriptionGroupTest is never used locally

CompatibilityDescriptionGroupTest.java :

46 : private CompatibilityDescriptionGroup getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/DescriptionGroupTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type DescriptionGroupTest is never used locally

DescriptionGroupTest.java :

66 : private DescriptionGroup getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/DescriptionTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type DescriptionTest is never used locally

DescriptionTest.java :

66 : private Description getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/DisplayNameTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type DisplayNameTest is never used locally

DisplayNameTest.java :

66 : private DisplayName getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/EJBLocalRefTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type EJBLocalRefTest is never used locally

EJBLocalRefTest.java :

46 : private EJBLocalRef getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/EjbRefTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type EjbRefTest is never used locally

EjbRefTest.java :

66 : private EjbRef getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/EnvEntryTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type EnvEntryTest is never used locally

EnvEntryTest.java :

66 : private EnvEntry getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/IconTypeTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type IconTypeTest is never used locally

IconTypeTest.java :

66 : private IconType getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/IdentityTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type IdentityTest is never used locally

IdentityTest.java :

66 : private Identity getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/JNDIEnvRefsGroupTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type JNDIEnvRefsGroupTest is never used locally

JNDIEnvRefsGroupTest.java :

34 : private JNDIEnvRefsGroup getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/ListenerTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type ListenerTest is never used locally

ListenerTest.java :

46 : private Listener getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/MessageDestinationRefTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type MessageDestinationRefTest is never used locally

MessageDestinationRefTest.java :

66 : private MessageDestinationRef getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/MessageDestinationTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type MessageDestinationTest is never used locally

MessageDestinationTest.java :

46 : private MessageDestination getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/ParamValueTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type ParamValueTest is never used locally

ParamValueTest.java :

66 : private ParamValue getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/QNameTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type QNameTest is never used locally

QNameTest.java :

66 : private QName getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/ResourceEnvRefTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type ResourceEnvRefTest is never used locally

ResourceEnvRefTest.java :

66 : private ResourceEnvRef getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/ResourceRefTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type ResourceRefTest is never used locally

ResourceRefTest.java :

66 : private ResourceRef getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/RunAsSpecifiedIdentityTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type RunAsSpecifiedIdentityTest is never used locally

RunAsSpecifiedIdentityTest.java :

46 : private RunAsSpecifiedIdentity getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/SecurityIdentityTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type SecurityIdentityTest is never used locally

SecurityIdentityTest.java :

66 : private SecurityIdentity getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/SecurityRoleRefTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type SecurityRoleRefTest is never used locally

SecurityRoleRefTest.java :

66 : private SecurityRoleRef getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/SecurityRoleTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type SecurityRoleTest is never used locally

SecurityRoleTest.java :

66 : private SecurityRole getFixture() {

Source File: org/eclipse/jst/j2ee/common/tests/UseCallerIdentityTest.java
1. WARNING: UnusedPrivateMethod

The method getFixture() from the type UseCallerIdentityTest is never used locally

UseCallerIdentityTest.java :

46 : private UseCallerIdentity getFixture() {

Source File: org/eclipse/jst/j2ee/ejb/test/EjbFactoryTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable tmpEjbFactory is not used

EjbFactoryTest.java :

60 : EjbFactory tmpEjbFactory = getInstance();

Source File: org/eclipse/jst/j2ee/ejb/test/EntityTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable assemblyDescriptor is not used

EntityTest.java :

42 : AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable assemblyDescriptor is not used

EntityTest.java :

72 : AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable name is not used

EntityTest.java :

84 : String name = entityBean.getPrimaryKeyName();

Source File: org/eclipse/jst/j2ee/ejb/test/MethodElementTest.java
1. WARNING: UnusedPrivateField

The value of the field MethodElementTest.SESSION is not used

MethodElementTest.java :

32 : private final int SESSION =0;

2. WARNING: UnusedPrivateField

The value of the field MethodElementTest.ENTITY is not used

MethodElementTest.java :

33 : private final int ENTITY = 1;

3. WARNING: UnusedPrivateField

The value of the field MethodElementTest.CONTAINER_MANAGED_ENTITY is not used

MethodElementTest.java :

34 : private final int CONTAINER_MANAGED_ENTITY =2;

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable retValue is not used

MethodElementTest.java :

71 : boolean retValue = false;

5. WARNING: LocalVariableIsNeverUsed

The value of the local variable param4 is not used

MethodElementTest.java :

95 : String param4= "param4";

6. WARNING: LocalVariableIsNeverUsed

The value of the local variable retValue is not used

MethodElementTest.java :

138 : boolean retValue = false;

7. WARNING: LocalVariableIsNeverUsed

The value of the local variable name is not used

MethodElementTest.java :

241 : String name = "setTwoParamMethod";

8. WARNING: LocalVariableIsNeverUsed

The value of the local variable retValue is not used

MethodElementTest.java :

347 : boolean retValue = false;

Source File: org/eclipse/jst/j2ee/ejb/test/QueryMethodTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable assemblyDescriptor is not used

QueryMethodTest.java :

44 : AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();

Source File: org/eclipse/jst/j2ee/ejb/test/SessionTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable retValue is not used

SessionTest.java :

99 : boolean retValue = false;

Source File: org/eclipse/jst/j2ee/jca/test/JcaFactoryTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable tmpJcaFactory is not used

JcaFactoryTest.java :

31 : JcaFactory tmpJcaFactory = getInstance();