Compiler: Eclipse Java Compiler Version: 0.770, 3.3.0
Number of source files: 84 Number of classfiles: 95
Problems: 35 (Errors: 0 Warnings: 35 )
Discouraged access: The type PlatformURLConnection is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R2.0-R/eclipse/plugins/org.eclipse.equinox.common_3.3.0.v20070426.jar
EjbPlugin.java:
17: import org.eclipse.core.internal.boot.PlatformURLConnection;
Discouraged access: The method getURLAsLocal() from the type PlatformURLConnection is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R2.0-R/eclipse/plugins/org.eclipse.equinox.common_3.3.0.v20070426.jar
EjbPlugin.java:
79: String installLocation = ((PlatformURLConnection) url.openConnection()).getURLAsLocal().getFile();
Discouraged access: The type PlatformURLConnection is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R2.0-R/eclipse/plugins/org.eclipse.equinox.common_3.3.0.v20070426.jar
EjbPlugin.java:
79: String installLocation = ((PlatformURLConnection) url.openConnection()).getURLAsLocal().getFile();
The import org.eclipse.emf.edit.command.AddCommand is never used
AssemblyDescriptorItemProvider.java:
24: import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
AssemblyDescriptorItemProvider.java:
25: import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.command.AddCommand is never used
EJBRelationItemProvider.java:
23: import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
EJBRelationItemProvider.java:
24: import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.command.AddCommand is never used
EJBRelationshipRoleItemProvider.java:
25: import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
EJBRelationshipRoleItemProvider.java:
26: import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used
EJBRelationshipRoleItemProvider.java:
35: import org.eclipse.emf.edit.provider.ItemProviderAdapter;
The import org.eclipse.emf.edit.command.AddCommand is never used
ExcludeListItemProvider.java:
21: import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
ExcludeListItemProvider.java:
22: import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.command.AddCommand is never used
MessageDrivenItemProvider.java:
23: import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
MessageDrivenItemProvider.java:
24: import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.common.notify.Adapter is never used
MethodElementItemProvider.java:
18: import org.eclipse.emf.common.notify.Adapter;
The import org.eclipse.emf.edit.provider.IDisposable is never used
MethodElementItemProvider.java:
27: import org.eclipse.emf.edit.provider.IDisposable;
The import org.eclipse.emf.edit.command.AddCommand is never used
MethodPermissionItemProvider.java:
23: import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
MethodPermissionItemProvider.java:
24: import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.command.AddCommand is never used
MethodTransactionItemProvider.java:
24: import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
MethodTransactionItemProvider.java:
25: import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.command.AddCommand is never used
RelationshipsItemProvider.java:
23: import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
RelationshipsItemProvider.java:
24: import org.eclipse.emf.edit.command.RemoveCommand;
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
EJBClientJARRemovalOperation.java:
488: String message = MessageFormat.format(ClientJARCreationConstants.SHOULD_OVERWRITE, new String[]{filePath.toString(), newPath.toString()});
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
EJBClientJARRemovalOperation.java:
567: String message = MessageFormat.format(ClientJARCreationConstants.FILES_OUT_OF_SYNC, new String[]{project.getName()});
Discouraged access: The type JDOMSearchHelper is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R2.0-R/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBClientJarCreationHelper.java:
39: import org.eclipse.jem.internal.adapters.jdom.JDOMSearchHelper;
Discouraged access: The type JDOMSearchHelper is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R2.0-R/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBClientJarCreationHelper.java:
172: IType type = JDOMSearchHelper.findType(javaClass.getJavaPackage().getName(), javaClass.getSimpleName(), jProj);
Discouraged access: The method findType(String, String, IJavaProject) from the type JDOMSearchHelper is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R2.0-R/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBClientJarCreationHelper.java:
172: IType type = JDOMSearchHelper.findType(javaClass.getJavaPackage().getName(), javaClass.getSimpleName(), jProj);
Discouraged access: The type JDOMSearchHelper is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R2.0-R/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBHelper.java:
37: import org.eclipse.jem.internal.adapters.jdom.JDOMSearchHelper;
Discouraged access: The type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R2.0-R/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBHelper.java:
38: import org.eclipse.jem.internal.plugin.JavaEMFNature;
Discouraged access: The type JDOMSearchHelper is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R2.0-R/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBHelper.java:
685: return JDOMSearchHelper.findType(clazz.getJavaPackage().getName(), clazz.getName(), javaProj);
Discouraged access: The method findType(String, String, IJavaProject) from the type JDOMSearchHelper is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R2.0-R/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBHelper.java:
685: return JDOMSearchHelper.findType(clazz.getJavaPackage().getName(), clazz.getName(), javaProj);
Discouraged access: The type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R2.0-R/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBHelper.java:
716: JavaEMFNature nature = JavaEMFNature.getRuntime(getProject());
Discouraged access: The type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R2.0-R/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBHelper.java:
716: JavaEMFNature nature = JavaEMFNature.getRuntime(getProject());
Discouraged access: The method getRuntime(IProject) from the type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R2.0-R/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBHelper.java:
716: JavaEMFNature nature = JavaEMFNature.getRuntime(getProject());
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
ResourceHandler.java:
79: res = java.text.MessageFormat.format(getExternalizedMessage(key), parms);