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 )
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});
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}));
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()});
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;
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);
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) {
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);
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);
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);