Compiler log for org.eclipse.e4.xwt.tools.ui_0.9.0.v20101021 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 52

errors others warnings forbidden warnings discouraged warnings

ERRORS

top others warnings forbidden warnings discouraged warnings

OTHER WARNINGS

top errors forbidden warnings discouraged warnings

/src/org/eclipse/e4/xwt/ui/jdt/ASTHelper.java : 12 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ASTHelper.java
 (at line 80)
existingImports = getExistingImports(astRoot);
Type safety: The expression of type Set needs unchecked conversion to conform to Set<String>
2. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ASTHelper.java
 (at line 153)
Set existingImports = getExistingImports(astUnit);
Set is a raw type. References to generic type Set<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ASTHelper.java
 (at line 212)
Set handleIds = new HashSet(typeMethods.length);
Set is a raw type. References to generic type Set<E> should be parameterized
4. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ASTHelper.java
 (at line 212)
Set handleIds = new HashSet(typeMethods.length);
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
5. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ASTHelper.java
 (at line 214)
handleIds.add(typeMethods[index].getHandleIdentifier());
Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set<E> should be parameterized
6. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ASTHelper.java
 (at line 253)
private static void removeUnusedImports(ICompilationUnit cu, Set existingImports, boolean needsSave) throws CoreException {
Set is a raw type. References to generic type Set<E> should be parameterized
7. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ASTHelper.java
 (at line 263)
List importsDecls = root.imports();
List is a raw type. References to generic type List<E> should be parameterized
8. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ASTHelper.java
 (at line 303)
private static Set /* String */getExistingImports(CompilationUnit root) {
Set is a raw type. References to generic type Set<E> should be parameterized
9. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ASTHelper.java
 (at line 304)
List imports = root.imports();
List is a raw type. References to generic type List<E> should be parameterized
10. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ASTHelper.java
 (at line 305)
Set res = new HashSet(imports.size());
Set is a raw type. References to generic type Set<E> should be parameterized
11. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ASTHelper.java
 (at line 305)
Set res = new HashSet(imports.size());
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
12. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ASTHelper.java
 (at line 307)
res.add(ASTNodes.asString((ImportDeclaration) imports.get(i)));
Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set<E> should be parameterized

/src/org/eclipse/e4/xwt/ui/jdt/ProjectHelper.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ProjectHelper.java
 (at line 113)
for (IPluginImport pluginImport : imports) {
The value of the local variable pluginImport is not used
2. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ProjectHelper.java
 (at line 171)
IClasspathEntry resolvedEntry = JavaCore.getJavaCore().getResolvedClasspathEntry(entry);
The static method getResolvedClasspathEntry(IClasspathEntry) from the type JavaCore should be accessed in a static way
3. WARNING in /src/org/eclipse/e4/xwt/ui/jdt/ProjectHelper.java
 (at line 181)
IClasspathContainer classpathContainer = JavaCore.getJavaCore().getClasspathContainer(path, javaProject);
The static method getClasspathContainer(IPath, IJavaProject) from the type JavaCore should be accessed in a static way

/src/org/eclipse/e4/xwt/ui/utils/DependencyBuilder.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/utils/DependencyBuilder.java
 (at line 40)
import org.eclipse.pde.internal.core.util.VersionUtil;
The import org.eclipse.pde.internal.core.util.VersionUtil is never used
2. WARNING in /src/org/eclipse/e4/xwt/ui/utils/DependencyBuilder.java
 (at line 102)
for (Iterator iterator = pluginImports.iterator(); iterator.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized

/src/org/eclipse/e4/xwt/ui/utils/ImageManager.java : 7 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/utils/ImageManager.java
 (at line 32)
private static final String T_OVR = "ovr16"; //$NON-NLS-1$
The value of the field ImageManager.T_OVR is not used
2. WARNING in /src/org/eclipse/e4/xwt/ui/utils/ImageManager.java
 (at line 33)
private static final String T_WIZBAN = "wizban"; //$NON-NLS-1$
The value of the field ImageManager.T_WIZBAN is not used
3. WARNING in /src/org/eclipse/e4/xwt/ui/utils/ImageManager.java
 (at line 34)
private static final String T_ELCL = "elcl16"; //$NON-NLS-1$
The value of the field ImageManager.T_ELCL is not used
4. WARNING in /src/org/eclipse/e4/xwt/ui/utils/ImageManager.java
 (at line 35)
private static final String T_DLCL = "dlcl16"; //$NON-NLS-1$
The value of the field ImageManager.T_DLCL is not used
5. WARNING in /src/org/eclipse/e4/xwt/ui/utils/ImageManager.java
 (at line 36)
private static final String T_ETOOL = "etool16"; //$NON-NLS-1$
The value of the field ImageManager.T_ETOOL is not used
6. WARNING in /src/org/eclipse/e4/xwt/ui/utils/ImageManager.java
 (at line 37)
private static final String T_EVIEW = "eview16"; //$NON-NLS-1$
The value of the field ImageManager.T_EVIEW is not used
7. WARNING in /src/org/eclipse/e4/xwt/ui/utils/ImageManager.java
 (at line 94)
private static ImageDescriptor createUnManaged(String prefix, String name) {
The method createUnManaged(String, String) from the type ImageManager is never used locally

/src/org/eclipse/e4/xwt/ui/utils/LibraryBuilder.java : 8 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/utils/LibraryBuilder.java
 (at line 168)
ArrayList tokens = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/ui/utils/LibraryBuilder.java
 (at line 168)
ArrayList tokens = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/xwt/ui/utils/LibraryBuilder.java
 (at line 172)
tokens.add(entries[i].getPath().removeFirstSegments(1).addTrailingSeparator().toString());
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
4. WARNING in /src/org/eclipse/e4/xwt/ui/utils/LibraryBuilder.java
 (at line 192)
ArrayList toBeAdded = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
5. WARNING in /src/org/eclipse/e4/xwt/ui/utils/LibraryBuilder.java
 (at line 192)
ArrayList toBeAdded = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
6. WARNING in /src/org/eclipse/e4/xwt/ui/utils/LibraryBuilder.java
 (at line 206)
toBeAdded.add(entries[i]);
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
7. WARNING in /src/org/eclipse/e4/xwt/ui/utils/LibraryBuilder.java
 (at line 217)
toBeAdded.add(index++, entry);
Type safety: The method add(int, Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
8. WARNING in /src/org/eclipse/e4/xwt/ui/utils/LibraryBuilder.java
 (at line 223)
IClasspathEntry[] updated = (IClasspathEntry[]) toBeAdded.toArray(new IClasspathEntry[toBeAdded.size()]);
Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized

/src/org/eclipse/e4/xwt/ui/wizards/NewPresentationWizard.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewPresentationWizard.java
 (at line 26)
import org.eclipse.jface.viewers.IStructuredSelection;
The import org.eclipse.jface.viewers.IStructuredSelection is never used
2. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewPresentationWizard.java
 (at line 27)
import org.eclipse.ui.IWorkbench;
The import org.eclipse.ui.IWorkbench is never used

/src/org/eclipse/e4/xwt/ui/wizards/NewPresentationWizardPage.java : 4 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewPresentationWizardPage.java
 (at line 79)
private IPackageFragment packageFragment;
The value of the field NewPresentationWizardPage.packageFragment is not used
2. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewPresentationWizardPage.java
 (at line 135)
for (Iterator iterator = selection.iterator(); iterator.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewPresentationWizardPage.java
 (at line 272)
public List getSuperInterfaces() {
List is a raw type. References to generic type List<E> should be parameterized
4. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewPresentationWizardPage.java
 (at line 272)
public List getSuperInterfaces() {
Type safety: The return type List for getSuperInterfaces() from the type NewPresentationWizardPage needs unchecked conversion to conform to List<String> from the type NewTypeWizardPage

/src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java : 14 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 18)
import java.util.Iterator;
The import java.util.Iterator is never used
2. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 30)
import org.eclipse.jdt.core.ICompilationUnit;
The import org.eclipse.jdt.core.ICompilationUnit is never used
3. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 32)
import org.eclipse.jdt.core.IJavaProject;
The import org.eclipse.jdt.core.IJavaProject is never used
4. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 34)
import org.eclipse.jdt.core.search.IJavaSearchConstants;
The import org.eclipse.jdt.core.search.IJavaSearchConstants is never used
5. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 35)
import org.eclipse.jdt.core.search.IJavaSearchScope;
The import org.eclipse.jdt.core.search.IJavaSearchScope is never used
6. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 36)
import org.eclipse.jdt.core.search.SearchEngine;
The import org.eclipse.jdt.core.search.SearchEngine is never used
7. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 38)
import org.eclipse.jdt.internal.ui.dialogs.FilteredTypesSelectionDialog;
The import org.eclipse.jdt.internal.ui.dialogs.FilteredTypesSelectionDialog is never used
8. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 39)
import org.eclipse.jdt.internal.ui.wizards.NewElementWizard;
The import org.eclipse.jdt.internal.ui.wizards.NewElementWizard is never used
9. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 40)
import org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField;
The import org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField is never used
10. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 43)
import org.eclipse.jface.viewers.IStructuredSelection;
The import org.eclipse.jface.viewers.IStructuredSelection is never used
11. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 44)
import org.eclipse.jface.viewers.TableViewer;
The import org.eclipse.jface.viewers.TableViewer is never used
12. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 45)
import org.eclipse.jface.window.Window;
The import org.eclipse.jface.window.Window is never used
13. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 132)
public List getSuperInterfaces() {
List is a raw type. References to generic type List<E> should be parameterized
14. WARNING in /src/org/eclipse/e4/xwt/ui/wizards/NewUIElementWizardPage.java
 (at line 132)
public List getSuperInterfaces() {
Type safety: The return type List for getSuperInterfaces() from the type NewUIElementWizardPage needs unchecked conversion to conform to List<String> from the type NewTypeWizardPage

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings