Compiler Report

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

Number of source files: 103 Number of classfiles: 106

Problems: 107 (Errors: 0 Warnings: 107 )

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

The local variable exampleDeploymentDesURI is never read

AppClientEMFEditTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The local variable curDeploymentDesURI is never read

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 local variable exampleDeploymentDesURI is never read

EarEMFEditTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The local variable curDeploymentDesURI is never read

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 local variable exampleDeploymentDesURI is never read

EjbEMFEditTest.java :

94 : String exampleDeploymentDesURI = null;

2. WARNING: LocalVariableIsNeverUsed

The local variable curDeploymentDesURI is never read

EjbEMFEditTest.java :

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

3. WARNING: LocalVariableIsNeverUsed

The local variable curDir is never read

EjbEMFEditTest.java :

123 : String curDir = AutomatedBVT.baseDirectory;

Source File: org/eclipse/jst/j2ee/archive/emftests/EjbEMFTest.java
1. WARNING: DiscouragedReference

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

EjbEMFTest.java :

26 : import org.eclipse.jem.java.internal.impl.JavaClassImpl;

2. WARNING: DiscouragedReference

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

EjbEMFTest.java :

310 : setReferenceValue(eObject, ref, JavaClassImpl.createClassRef("java.util.Collection"));

3. WARNING: DiscouragedReference

Discouraged access: The method createClassRef(String) from the type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-M/workdir/plugins/org.eclipse.jem/@dot

EjbEMFTest.java :

310 : setReferenceValue(eObject, ref, JavaClassImpl.createClassRef("java.util.Collection"));

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

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

GeneralEMFEditingTest.java :

35 : import org.eclipse.jem.java.internal.impl.JavaClassImpl;

2. WARNING: DiscouragedReference

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

GeneralEMFEditingTest.java :

201 : return JavaClassImpl.createClassRef(name);

3. WARNING: DiscouragedReference

Discouraged access: The method createClassRef(String) from the type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-M/workdir/plugins/org.eclipse.jem/@dot

GeneralEMFEditingTest.java :

201 : return JavaClassImpl.createClassRef(name);

4. WARNING: LocalVariableIsNeverUsed

The local variable endCommentIndx is never read

GeneralEMFEditingTest.java :

247 : int endCommentIndx = 0;

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

The local variable pkg is never read

GeneralEMFPopulationTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The local variable msg is never read

GeneralEMFPopulationTest.java :

282 : String msg = null;

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

The local variable exampleDeploymentDesURI is never read

RarEMFEditTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The local variable curDeploymentDesURI is never read

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 local variable DD is never read

ResolverTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The local variable DD is never read

ResolverTest.java :

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

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

The local variable exampleDeploymentDesURI is never read

WarEMFEditTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The local variable curDeploymentDesURI is never read

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 field AbstractArchiveTest.copyright is never read locally

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 field AllArchiveTestsJava.copyright is never read locally

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 field ClientContainerResourceLoadTest.copyright is never read locally

ClientContainerResourceLoadTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The local variable res is never read

ClientContainerResourceLoadTest.java :

68 : Resource res;

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

The field CopyTests.copyright is never read locally

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 :

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

2. WARNING: LocalVariableIsNeverUsed

The local variable appl is never read

DefectVerificationTests.java :

211 : Application appl = earFile.getDeploymentDescriptor();

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

The local variable pInst1 is never read

DomComparitor.java :

131 : ProcessingInstruction pInst1 = (ProcessingInstruction)node1;

2. WARNING: LocalVariableIsNeverUsed

The local variable pInst2 is never read

DomComparitor.java :

132 : ProcessingInstruction pInst2 = (ProcessingInstruction)node2;

3. WARNING: LocalVariableIsNeverUsed

The local variable frag1 is never read

DomComparitor.java :

136 : DocumentFragment frag1 = (DocumentFragment)node1;

4. WARNING: LocalVariableIsNeverUsed

The local variable frag2 is never read

DomComparitor.java :

137 : DocumentFragment frag2 = (DocumentFragment)node2;

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

The field InitializationTests.copyright is never read locally

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 field JavaTests.copyright is never read locally

JavaTests.java :

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

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

The field RarFileTests.copyright is never read locally

RarFileTests.java :

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

2. WARNING: LocalVariableIsNeverUsed

The local variable dd is never read

RarFileTests.java :

167 : Connector dd = rarFile.getDeploymentDescriptor();

3. WARNING: LocalVariableIsNeverUsed

The local variable myAuthList is never read

RarFileTests.java :

199 : EList myAuthList = rd.getAuthenticationMechanisms();

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

The local variable bean is never read

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 field SaveTests.copyright is never read locally

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 field SecurityRoleTests.copyright is never read locally

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 field SimpleTests.copyright is never read locally

SimpleTests.java :

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

2. WARNING: LocalVariableIsNeverUsed

The local variable jar is never read

SimpleTests.java :

111 : EJBJar jar = jarFile.getDeploymentDescriptor();

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

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

TestModuleClassLoading.java :

20 : import org.eclipse.jem.java.internal.impl.JavaClassImpl;

2. WARNING: LocalVariableIsNeverUsed

The local variable filename is never read

TestModuleClassLoading.java :

68 : String filename = files[i];

3. WARNING: DiscouragedReference

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

TestModuleClassLoading.java :

97 : (JavaClass) JavaClassImpl.reflect(testClass, module.getResourceSet());

4. WARNING: DiscouragedReference

Discouraged access: The method reflect(String, ResourceSet) from the type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-M/workdir/plugins/org.eclipse.jem/@dot

TestModuleClassLoading.java :

97 : (JavaClass) JavaClassImpl.reflect(testClass, module.getResourceSet());

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

The field WARFileTests.copyright is never read locally

WARFileTests.java :

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

2. WARNING: LocalVariableIsNeverUsed

The local variable libs is never read

WARFileTests.java :

98 : List libs = aWarFile.getLibs();

3. WARNING: LocalVariableIsNeverUsed

The local variable classes is never read

WARFileTests.java :

99 : List classes = aWarFile.getClasses();

4. WARNING: LocalVariableIsNeverUsed

The local variable resources is never read

WARFileTests.java :

100 : List resources = aWarFile.getResources();

Source File: org/eclipse/jst/j2ee/archive/testutilities/EMFAttributeFeatureGenerator.java
1. WARNING: DiscouragedReference

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

EMFAttributeFeatureGenerator.java :

27 : import org.eclipse.jem.java.internal.impl.JavaClassImpl;

2. WARNING: DiscouragedReference

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

EMFAttributeFeatureGenerator.java :

201 : return JavaClassImpl.createClassRef(name);

3. WARNING: DiscouragedReference

Discouraged access: The method createClassRef(String) from the type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-M/workdir/plugins/org.eclipse.jem/@dot

EMFAttributeFeatureGenerator.java :

201 : return JavaClassImpl.createClassRef(name);

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 local variable tmpCommonFactory is never read

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/ContainerManagedEntityTest.java
1. WARNING: DiscouragedReference

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

ContainerManagedEntityTest.java :

20 : import org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl;

2. WARNING: DiscouragedReference

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

ContainerManagedEntityTest.java :

54 : Field aField = JavaRefFactoryImpl.getActiveFactory().createField();

3. WARNING: DiscouragedReference

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

ContainerManagedEntityTest.java :

54 : Field aField = JavaRefFactoryImpl.getActiveFactory().createField();

4. WARNING: DiscouragedReference

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

ContainerManagedEntityTest.java :

149 : Field aField = JavaRefFactoryImpl.getActiveFactory().createField();

5. WARNING: DiscouragedReference

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

ContainerManagedEntityTest.java :

149 : Field aField = JavaRefFactoryImpl.getActiveFactory().createField();

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

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

EjbFactoryTest.java :

21 : import org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl;

2. WARNING: LocalVariableIsNeverUsed

The local variable tmpEjbFactory is never read

EjbFactoryTest.java :

60 : EjbFactory tmpEjbFactory = getInstance();

3. WARNING: DiscouragedReference

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

EjbFactoryTest.java :

75 : Method aMethod = JavaRefFactoryImpl.getActiveFactory().createMethod();

4. WARNING: DiscouragedReference

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

EjbFactoryTest.java :

75 : Method aMethod = JavaRefFactoryImpl.getActiveFactory().createMethod();

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

The local variable assemblyDescriptor is never read

EntityTest.java :

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

2. WARNING: LocalVariableIsNeverUsed

The local variable assemblyDescriptor is never read

EntityTest.java :

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

3. WARNING: LocalVariableIsNeverUsed

The local variable name is never read

EntityTest.java :

85 : String name = entityBean.getPrimaryKeyName();

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

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

MethodElementTest.java :

23 : import org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl;

2. WARNING: UnusedPrivateField

The field MethodElementTest.SESSION is never read locally

MethodElementTest.java :

32 : private final int SESSION =0;

3. WARNING: UnusedPrivateField

The field MethodElementTest.ENTITY is never read locally

MethodElementTest.java :

33 : private final int ENTITY = 1;

4. WARNING: UnusedPrivateField

The field MethodElementTest.CONTAINER_MANAGED_ENTITY is never read locally

MethodElementTest.java :

34 : private final int CONTAINER_MANAGED_ENTITY =2;

5. WARNING: LocalVariableIsNeverUsed

The local variable retValue is never read

MethodElementTest.java :

71 : boolean retValue = false;

6. WARNING: LocalVariableIsNeverUsed

The local variable param4 is never read

MethodElementTest.java :

95 : String param4= "param4";

7. WARNING: LocalVariableIsNeverUsed

The local variable retValue is never read

MethodElementTest.java :

138 : boolean retValue = false;

8. WARNING: LocalVariableIsNeverUsed

The local variable name is never read

MethodElementTest.java :

241 : String name = "setTwoParamMethod";

9. WARNING: LocalVariableIsNeverUsed

The local variable retValue is never read

MethodElementTest.java :

347 : boolean retValue = false;

10. WARNING: DiscouragedReference

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

MethodElementTest.java :

355 : Method aMethod = JavaRefFactoryImpl.getActiveFactory().createMethod();

11. WARNING: DiscouragedReference

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

MethodElementTest.java :

355 : Method aMethod = JavaRefFactoryImpl.getActiveFactory().createMethod();

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

The local variable assemblyDescriptor is never read

QueryMethodTest.java :

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

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

The local variable retValue is never read

SessionTest.java :

99 : boolean retValue = false;

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

The local variable tmpJcaFactory is never read

JcaFactoryTest.java :

31 : JcaFactory tmpJcaFactory = getInstance();