Compiler Report

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

Number of source files: 53 Number of classfiles: 68

Problems: 9 (Errors: 0 Warnings: 9 )

Source File: org/eclipse/jst/validation/test/internal/registry/MessageUtility.java
1. WARNING: MethodVarargsArgumentNeedCast

The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method format(String, Object...) from type MessageFormat. It could alternatively be cast to Object for a varargs invocation

MessageUtility.java :

45 : return MessageFormat.format(template, new String[]{mssgPrefix, resource, location, text});

Source File: org/eclipse/jst/validation/test/setup/TestCaseGeneratorOperation.java
1. WARNING: MethodVarargsArgumentNeedCast

The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method format(String, Object...) from type MessageFormat. It could alternatively be cast to Object for a varargs invocation

TestCaseGeneratorOperation.java :

108 : messageBuffer.append(MessageFormat.format(_TESTCASE_MESSAGE_TEMPLATE_, new String[]{messageId, resource, location, text}));

2. WARNING: MethodVarargsArgumentNeedCast

The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method format(String, Object...) from type MessageFormat. It could alternatively be cast to Object for a varargs invocation

TestCaseGeneratorOperation.java :

116 : String testcaseTemplate = MessageFormat.format(_TESTCASE_TEMPLATE_, new String[]{project.getName(), vmd.getValidatorUniqueName(), buffer.toString()});

Source File: org/eclipse/jst/validation/test/fwk/validator/JDTUtility.java
1. WARNING: DiscouragedReference

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

JDTUtility.java :

21 : import org.eclipse.jem.internal.plugin.JavaEMFNature;

2. WARNING: DiscouragedReference

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

JDTUtility.java :

219 : JavaEMFNature nature = getNature(type);

3. WARNING: DiscouragedReference

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

JDTUtility.java :

226 : public static JavaEMFNature getNature(IType type) {

4. WARNING: DiscouragedReference

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

JDTUtility.java :

231 : JavaEMFNature nature = JavaEMFNature.createRuntime(project);

5. WARNING: DiscouragedReference

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

JDTUtility.java :

231 : JavaEMFNature nature = JavaEMFNature.createRuntime(project);

6. WARNING: DiscouragedReference

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

JDTUtility.java :

231 : JavaEMFNature nature = JavaEMFNature.createRuntime(project);