Compiler Report

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

Number of source files: 31 Number of classfiles: 37

Problems: 9 (Errors: 0 Warnings: 9 )

Source File: org/eclipse/jst/j2ee/navigator/internal/J2EEContentProvider.java
1. WARNING: UnusedImport

The import org.eclipse.core.runtime.CoreException is never used

J2EEContentProvider.java :

18 : import org.eclipse.core.runtime.CoreException;

2. WARNING: UnusedPrivateField

The field J2EEContentProvider.IPROJECT_CLASS is never read locally

J2EEContentProvider.java :

50 : private static final Class IPROJECT_CLASS = IProject.class;

Source File: org/eclipse/jst/j2ee/navigator/internal/dnd/AddProjectToEARDropAssistant.java
1. WARNING: UnusedImport

The import org.eclipse.jst.j2ee.componentcore.EnterpriseArtifactEdit is never used

AddProjectToEARDropAssistant.java :

39 : import org.eclipse.jst.j2ee.componentcore.EnterpriseArtifactEdit;

2. WARNING: UnusedImport

The import org.eclipse.jst.j2ee.componentcore.util.EARArtifactEdit is never used

AddProjectToEARDropAssistant.java :

40 : import org.eclipse.jst.j2ee.componentcore.util.EARArtifactEdit;

3. WARNING: UnusedImport

The import org.eclipse.jst.j2ee.model.IModelProvider is never used

AddProjectToEARDropAssistant.java :

45 : import org.eclipse.jst.j2ee.model.IModelProvider;

4. WARNING: UnusedImport

The import org.eclipse.jst.j2ee.model.ModelProviderManager is never used

AddProjectToEARDropAssistant.java :

46 : import org.eclipse.jst.j2ee.model.ModelProviderManager;

5. WARNING: UnusedImport

The import org.eclipse.wst.common.project.facet.core.internal.FacetedProject is never used

AddProjectToEARDropAssistant.java :

66 : import org.eclipse.wst.common.project.facet.core.internal.FacetedProject;

Source File: org/eclipse/jst/j2ee/navigator/internal/dnd/J2EEImportDropAction.java
1. WARNING: LocalVariableIsNeverUsed

The local variable archiveType is never read

J2EEImportDropAction.java :

65 : int archiveType = ImportUtil.UNKNOWN;

2. WARNING: NullLocalVariableReference

Null pointer access: The variable dataModel can only be null at this location

J2EEImportDropAction.java :

205 : dataModel.setProperty(IJ2EEModuleImportDataModelProperties.FILE_NAME, fileName);