Compiler log for org.eclipse.e4.xwt.tools.ui.designer_0.9.1.v20101021 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 138

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/tools/ui/designer/commands/ChangeWeightsCommand.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/commands/ChangeWeightsCommand.java
 (at line 86)
List<VisualEditPart> editParts = new ArrayList<VisualEditPart>(request .getEditParts());
Type safety: The expression of type List needs unchecked conversion to conform to Collection<? extends VisualEditPart>

/src/org/eclipse/e4/xwt/tools/ui/designer/commands/DeleteCommand.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/commands/DeleteCommand.java
 (at line 36)
public DeleteCommand(List deleteNodes) {
List is a raw type. References to generic type List<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/commands/DeleteCommand.java
 (at line 48)
private List<XamlNode> convertNodes(List deleteNodes) {
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/commands/DeleteCommand.java
 (at line 53)
for (Iterator iterator = deleteNodes.iterator(); iterator.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/commands/LayoutCommandsFactory.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/commands/LayoutCommandsFactory.java
 (at line 58)
public Command getDeleteCommand(List deleteObjects) {
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/commands/NamedCommand.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/commands/NamedCommand.java
 (at line 14)
import org.eclipse.e4.xwt.XWT;
The import org.eclipse.e4.xwt.XWT is never used
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/commands/NamedCommand.java
 (at line 16)
import org.eclipse.e4.xwt.internal.core.ScopeManager;
The import org.eclipse.e4.xwt.internal.core.ScopeManager is never used

/src/org/eclipse/e4/xwt/tools/ui/designer/databinding/ui/AdvancedBindingDialog.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/databinding/ui/AdvancedBindingDialog.java
 (at line 140)
@SuppressWarnings("restriction")
Unnecessary @SuppressWarnings("restriction")

/src/org/eclipse/e4/xwt/tools/ui/designer/databinding/ui/BindingTableGroup.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/databinding/ui/BindingTableGroup.java
 (at line 322)
return ((Collection) inputElement).toArray(new Object[0]);
Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/databinding/ui/BindingTableGroup.java
 (at line 322)
return ((Collection) inputElement).toArray(new Object[0]);
Collection is a raw type. References to generic type Collection<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/dialogs/AccessorConfigurationDialog.java : 5 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/dialogs/AccessorConfigurationDialog.java
 (at line 78)
@SuppressWarnings("restriction")
Unnecessary @SuppressWarnings("restriction")
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/dialogs/AccessorConfigurationDialog.java
 (at line 432)
List result = new ArrayList(1);
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/dialogs/AccessorConfigurationDialog.java
 (at line 432)
List result = new ArrayList(1);
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
4. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/dialogs/AccessorConfigurationDialog.java
 (at line 440)
result.add(nonjava[i]);
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
5. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/dialogs/AccessorConfigurationDialog.java
 (at line 539)
Class[] acceptedClasses = new Class[] { IPackageFragmentRoot.class, IJavaProject.class };
Class is a raw type. References to generic type Class<T> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/XWTDesigner.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/XWTDesigner.java
 (at line 78)
@SuppressWarnings("restriction")
Unnecessary @SuppressWarnings("restriction")

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/actions/ChangeTextAction.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/actions/ChangeTextAction.java
 (at line 56)
if (element == null) { return; }
Dead code

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/actions/LayoutAssistantAction.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/actions/LayoutAssistantAction.java
 (at line 83)
List selectedObjects = getSelectedObjects();
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/actions/OpenExternalizeStringsAction.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/actions/OpenExternalizeStringsAction.java
 (at line 107)
List child = editPart.getChildren();
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/actions/PasteElementAction.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/actions/PasteElementAction.java
 (at line 92)
List<XamlElement> elements = (List<XamlElement>) contents;
Type safety: Unchecked cast from Object to List<XamlElement>
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/actions/PasteElementAction.java
 (at line 110)
List<XamlElement> contents = (List<XamlElement>) Clipboard.getDefault().getContents();
Type safety: Unchecked cast from Object to List<XamlElement>

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/actions/SurroundWithAction.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/actions/SurroundWithAction.java
 (at line 61)
return new SurroundWithCommand(getSelectedObjects());
Type safety: The expression of type List needs unchecked conversion to conform to List<EditPart>

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/dnd/EntryCreationTool.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/dnd/EntryCreationTool.java
 (at line 72)
private Image getImageFrom(XamlElement node) {
The method getImageFrom(XamlElement) from the type EntryCreationTool is never used locally

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/menus/EventMenuManager.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/menus/EventMenuManager.java
 (at line 251)
return Collections.EMPTY_LIST;
Type safety: The expression of type List needs unchecked conversion to conform to Collection<String>
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/menus/EventMenuManager.java
 (at line 269)
return Collections.EMPTY_LIST;
Type safety: The expression of type List needs unchecked conversion to conform to Collection<String>

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/model/ModelCacheUtility.java : 5 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/model/ModelCacheUtility.java
 (at line 39)
private static final Map XML_CACHE_SAVE_OPTIONS;
Map is a raw type. References to generic type Map<K,V> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/model/ModelCacheUtility.java
 (at line 42)
XML_CACHE_SAVE_OPTIONS = new HashMap(4);
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
3. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/model/ModelCacheUtility.java
 (at line 43)
XML_CACHE_SAVE_OPTIONS.put(XMLResource.OPTION_ENCODING, "UTF-8"); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
4. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/model/ModelCacheUtility.java
 (at line 44)
XML_CACHE_SAVE_OPTIONS.put(XMLResource.OPTION_PROCESS_DANGLING_HREF, XMLResource.OPTION_PROCESS_DANGLING_HREF_RECORD);
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
5. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/model/ModelCacheUtility.java
 (at line 46)
XML_CACHE_SAVE_OPTIONS.put(XMLResource.OPTION_SAVE_TYPE_INFORMATION, Boolean.TRUE);
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/model/XWTModelBuilder.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/model/XWTModelBuilder.java
 (at line 62)
@SuppressWarnings("restriction")
Unnecessary @SuppressWarnings("restriction")

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/OutlinePageDropManager.java : 4 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/OutlinePageDropManager.java
 (at line 17)
import org.eclipse.e4.xwt.tools.ui.designer.editor.palette.EntryHelper;
The import org.eclipse.e4.xwt.tools.ui.designer.editor.palette.EntryHelper is never used
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/OutlinePageDropManager.java
 (at line 18)
import org.eclipse.e4.xwt.tools.ui.palette.Entry;
The import org.eclipse.e4.xwt.tools.ui.palette.Entry is never used
3. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/OutlinePageDropManager.java
 (at line 19)
import org.eclipse.e4.xwt.tools.ui.xaml.XamlNode;
The import org.eclipse.e4.xwt.tools.ui.xaml.XamlNode is never used
4. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/OutlinePageDropManager.java
 (at line 22)
import org.eclipse.jface.viewers.ISelection;
The import org.eclipse.jface.viewers.ISelection is never used

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/commands/MoveAfterCommand.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/commands/MoveAfterCommand.java
 (at line 51)
for (Iterator iterator = sourceNodes.iterator(); iterator.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/commands/MoveBeforeCommand.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/commands/MoveBeforeCommand.java
 (at line 50)
for (Iterator iterator = sourceNodes.iterator(); iterator.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/commands/MoveCommand.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/commands/MoveCommand.java
 (at line 65)
for (Iterator iterator = sourceNodes.iterator(); iterator.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/commands/MoveOnCommand.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/commands/MoveOnCommand.java
 (at line 42)
for (Iterator iterator = sourceNodes.iterator(); iterator.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/outline/commands/MoveOnCommand.java
 (at line 74)
for (Iterator iterator = sourceNodes.iterator(); iterator.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/sash/SashFormChildResizableEditPolicy.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/sash/SashFormChildResizableEditPolicy.java
 (at line 75)
List<EditPart> children = sashFormEditPart.getChildren();
Type safety: The expression of type List needs unchecked conversion to conform to List<EditPart>

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/sash/SashFormDeleteCommand.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/sash/SashFormDeleteCommand.java
 (at line 39)
public SashFormDeleteCommand(List deleteNodes) {
List is a raw type. References to generic type List<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/sash/SashFormDeleteCommand.java
 (at line 51)
private List<XamlNode> convertNodes(List deleteNodes) {
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/sash/SashFormDeleteCommand.java
 (at line 56)
for (Iterator iterator = deleteNodes.iterator(); iterator.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/editor/text/XWTContentAssistProcessor.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/text/XWTContentAssistProcessor.java
 (at line 70)
@SuppressWarnings("restriction")
Unnecessary @SuppressWarnings("restriction")
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/text/XWTContentAssistProcessor.java
 (at line 471)
CMElementDeclaration elementDecl = getCMElementDeclaration(node);
The value of the local variable elementDecl is not used
3. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/editor/text/XWTContentAssistProcessor.java
 (at line 652)
IEvent[] allEvents = metaclass.getEvents();
The value of the local variable allEvents is not used

/src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ASTHelper.java : 15 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ASTHelper.java
 (at line 81)
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/tools/ui/designer/jdt/ASTHelper.java
 (at line 155)
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/tools/ui/designer/jdt/ASTHelper.java
 (at line 220)
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/tools/ui/designer/jdt/ASTHelper.java
 (at line 220)
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/tools/ui/designer/jdt/ASTHelper.java
 (at line 222)
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/tools/ui/designer/jdt/ASTHelper.java
 (at line 265)
Set existingImports = ASTHelper.getExistingImports(astRoot);
Set is a raw type. References to generic type Set<E> should be parameterized
7. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ASTHelper.java
 (at line 271)
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
8. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ASTHelper.java
 (at line 281)
List importsDecls = root.imports();
List is a raw type. References to generic type List<E> should be parameterized
9. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ASTHelper.java
 (at line 321)
private static Set /* String */getExistingImports(CompilationUnit root) {
Set is a raw type. References to generic type Set<E> should be parameterized
10. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ASTHelper.java
 (at line 322)
List imports = root.imports();
List is a raw type. References to generic type List<E> should be parameterized
11. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ASTHelper.java
 (at line 323)
Set res = new HashSet(imports.size());
Set is a raw type. References to generic type Set<E> should be parameterized
12. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ASTHelper.java
 (at line 323)
Set res = new HashSet(imports.size());
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
13. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ASTHelper.java
 (at line 325)
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
14. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ASTHelper.java
 (at line 533)
Set /* String (import names) */existingImports;
Set is a raw type. References to generic type Set<E> should be parameterized
15. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ASTHelper.java
 (at line 586)
Set /* String (import names) */existingImports;
Set is a raw type. References to generic type Set<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ProjectHelper.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ProjectHelper.java
 (at line 165)
IClasspathEntry resolvedEntry = JavaCore.getJavaCore().getResolvedClasspathEntry(entry);
The static method getResolvedClasspathEntry(IClasspathEntry) from the type JavaCore should be accessed in a static way
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/jdt/ProjectHelper.java
 (at line 175)
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/tools/ui/designer/loader/ResourceVisitor.java : 7 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/loader/ResourceVisitor.java
 (at line 338)
loadData.setStyles((Collection<IStyle>) styles);
Type safety: Unchecked cast from Object to Collection<IStyle>
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/loader/ResourceVisitor.java
 (at line 680)
Collections.EMPTY_MAP);
Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object>
3. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/loader/ResourceVisitor.java
 (at line 691)
Collections.EMPTY_MAP);
Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object>
4. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/loader/ResourceVisitor.java
 (at line 712)
Collections.EMPTY_MAP);
Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object>
5. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/loader/ResourceVisitor.java
 (at line 1259)
collector = (Collection) type.newInstance();
Collection is a raw type. References to generic type Collection<E> should be parameterized
6. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/loader/ResourceVisitor.java
 (at line 1363)
doCreate(instance, doc, null, Collections.EMPTY_MAP);
Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object>
7. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/loader/ResourceVisitor.java
 (at line 1838)
return contentValue;
Dead code

/src/org/eclipse/e4/xwt/tools/ui/designer/loader/XWTProxy.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/loader/XWTProxy.java
 (at line 301)
Collections.EMPTY_MAP);
Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object>

/src/org/eclipse/e4/xwt/tools/ui/designer/parts/CompositeEditPart.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/CompositeEditPart.java
 (at line 107)
public Object getAdapter(Class key) {
Class is a raw type. References to generic type Class<T> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/parts/DataContextEditPart.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/DataContextEditPart.java
 (at line 53)
protected List getModelSourceConnections() {
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/parts/DiagramEditPart.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/DiagramEditPart.java
 (at line 42)
protected List getModelChildren() {
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/parts/MenuEditPart.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/MenuEditPart.java
 (at line 60)
protected List getModelChildren() {
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/parts/ViewerEditPart.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/ViewerEditPart.java
 (at line 72)
Iterator children = parent.getChildren().iterator();
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/ViewerEditPart.java
 (at line 92)
protected List getModelChildren() {
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/parts/WidgetEditPart.java : 7 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/WidgetEditPart.java
 (at line 104)
protected List getModelChildren() {
List is a raw type. References to generic type List<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/WidgetEditPart.java
 (at line 105)
List modelChildren = new ArrayList(getCastModel().getChildNodes());
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/WidgetEditPart.java
 (at line 105)
List modelChildren = new ArrayList(getCastModel().getChildNodes());
Type safety: The constructor ArrayList(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
4. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/WidgetEditPart.java
 (at line 105)
List modelChildren = new ArrayList(getCastModel().getChildNodes());
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
5. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/WidgetEditPart.java
 (at line 106)
collectExternalModels(modelChildren);
Type safety: The expression of type List needs unchecked conversion to conform to List<Object>
6. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/WidgetEditPart.java
 (at line 196)
protected List getModelSourceConnections() {
List is a raw type. References to generic type List<E> should be parameterized
7. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/WidgetEditPart.java
 (at line 229)
protected List getModelTargetConnections() {
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/parts/direct/ElementDirectEditManager.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/direct/ElementDirectEditManager.java
 (at line 30)
public ElementDirectEditManager(GraphicalEditPart source, Class editorType,
Class is a raw type. References to generic type Class<T> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/parts/figures/MenuFigure.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/figures/MenuFigure.java
 (at line 94)
List<IFigure> children = getChildren();
Type safety: The expression of type List needs unchecked conversion to conform to List<IFigure>
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/parts/figures/MenuFigure.java
 (at line 131)
List<IFigure> children = parent.getChildren();
Type safety: The expression of type List needs unchecked conversion to conform to List<IFigure>

/src/org/eclipse/e4/xwt/tools/ui/designer/policies/ComponentEditPolicy.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/ComponentEditPolicy.java
 (at line 34)
List editParts = request.getEditParts();
List is a raw type. References to generic type List<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/ComponentEditPolicy.java
 (at line 37)
for (Iterator iterator = editParts.iterator(); iterator.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/policies/ExpandableEditPolicy.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/ExpandableEditPolicy.java
 (at line 63)
List<EditPart> childList = part.getChildren();
Type safety: The expression of type List needs unchecked conversion to conform to List<EditPart>
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/ExpandableEditPolicy.java
 (at line 79)
List<EditPart> childList = part.getChildren();
Type safety: The expression of type List needs unchecked conversion to conform to List<EditPart>

/src/org/eclipse/e4/xwt/tools/ui/designer/policies/MenuItemExpandableEditPolicy.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/MenuItemExpandableEditPolicy.java
 (at line 38)
List children = getHost().getChildren();
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/FormLayoutEditPolicy.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/FormLayoutEditPolicy.java
 (at line 238)
List editParts = request.getEditParts();
List is a raw type. References to generic type List<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/FormLayoutEditPolicy.java
 (at line 239)
for (Iterator iterator = editParts.iterator(); iterator.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java : 16 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 111)
List children = getHost().getChildren();
List is a raw type. References to generic type List<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 112)
Iterator iterator = children.iterator();
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 195)
List children = getHost().getChildren();
List is a raw type. References to generic type List<E> should be parameterized
4. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 196)
Iterator iterator = children.iterator();
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
5. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 262)
List children = req.getEditParts();
List is a raw type. References to generic type List<E> should be parameterized
6. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 385)
List children = getChildren((GroupRequest) request);
List is a raw type. References to generic type List<E> should be parameterized
7. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 386)
helper.orphanChildren(children);
Type safety: The expression of type List needs unchecked conversion to conform to List<XamlNode>
8. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 392)
public List getChildren(GroupRequest request) {
List is a raw type. References to generic type List<E> should be parameterized
9. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 393)
List cEP = request.getEditParts();
List is a raw type. References to generic type List<E> should be parameterized
10. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 394)
List children = new ArrayList(cEP.size());
List is a raw type. References to generic type List<E> should be parameterized
11. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 394)
List children = new ArrayList(cEP.size());
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
12. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 395)
Iterator itr = cEP.iterator();
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
13. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 398)
children.add(child);
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
14. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 455)
List editparts = req.getEditParts();
List is a raw type. References to generic type List<E> should be parameterized
15. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 514)
List editParts = request.getEditParts();
List is a raw type. References to generic type List<E> should be parameterized
16. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/GridLayoutEditPolicy.java
 (at line 603)
List children = getHost().getChildren();
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/NonResizableSpannableEditPolicy.java : 6 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/NonResizableSpannableEditPolicy.java
 (at line 54)
protected List createSelectionHandles() {
List is a raw type. References to generic type List<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/NonResizableSpannableEditPolicy.java
 (at line 55)
List nonResizeHandles = super.createSelectionHandles();
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/NonResizableSpannableEditPolicy.java
 (at line 61)
nonResizeHandles.add(createHandle( (GraphicalEditPart) getHost(), PositionConstants.EAST));
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
4. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/NonResizableSpannableEditPolicy.java
 (at line 64)
nonResizeHandles.add(createHandle( (GraphicalEditPart) getHost(), PositionConstants.WEST));
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
5. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/NonResizableSpannableEditPolicy.java
 (at line 66)
nonResizeHandles.add(createHandle((GraphicalEditPart) getHost(), PositionConstants.SOUTH));
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
6. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/NonResizableSpannableEditPolicy.java
 (at line 88)
List editParts = request.getEditParts();
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/NullLayoutEditPolicy.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/NullLayoutEditPolicy.java
 (at line 13)
import org.eclipse.draw2d.ColorConstants;
The import org.eclipse.draw2d.ColorConstants is never used
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/NullLayoutEditPolicy.java
 (at line 14)
import org.eclipse.draw2d.IFigure;
The import org.eclipse.draw2d.IFigure is never used
3. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/NullLayoutEditPolicy.java
 (at line 18)
import org.eclipse.draw2d.geometry.Rectangle;
The import org.eclipse.draw2d.geometry.Rectangle is never used

/src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/RowLayoutEditPolicy.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/RowLayoutEditPolicy.java
 (at line 136)
List children = req.getEditParts();
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/TabFolderLayoutEditPolicy.java : 5 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/TabFolderLayoutEditPolicy.java
 (at line 14)
import org.eclipse.draw2d.geometry.Point;
The import org.eclipse.draw2d.geometry.Point is never used
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/TabFolderLayoutEditPolicy.java
 (at line 19)
import org.eclipse.e4.xwt.tools.ui.designer.parts.CompositeEditPart;
The import org.eclipse.e4.xwt.tools.ui.designer.parts.CompositeEditPart is never used
3. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/TabFolderLayoutEditPolicy.java
 (at line 22)
import org.eclipse.e4.xwt.tools.ui.designer.policies.feedback.CrossFeedback;
The import org.eclipse.e4.xwt.tools.ui.designer.policies.feedback.CrossFeedback is never used
4. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/TabFolderLayoutEditPolicy.java
 (at line 24)
import org.eclipse.e4.xwt.tools.ui.designer.utils.FigureUtil;
The import org.eclipse.e4.xwt.tools.ui.designer.utils.FigureUtil is never used
5. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/TabFolderLayoutEditPolicy.java
 (at line 29)
import org.eclipse.gef.GraphicalEditPart;
The import org.eclipse.gef.GraphicalEditPart is never used

/src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/grid/GridLayoutGridFigure.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/grid/GridLayoutGridFigure.java
 (at line 49)
} else { GridLayout example = new GridLayout(); marginWidth = example.marginWidth; marginHeight = example.marginHeight; horizontalSpacing = example.horizontalSpacing; verticalSpacing = example.verticalSpacing; }
Dead code

/src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/grid/GridLayoutPolicyHelper.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/policies/layout/grid/GridLayoutPolicyHelper.java
 (at line 180)
int childNum = 0;
The value of the local variable childNum is not used

/src/org/eclipse/e4/xwt/tools/ui/designer/properties/editors/ObjectCellEditor.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/properties/editors/ObjectCellEditor.java
 (at line 41)
Object[] result = dialog.getResult();
The value of the local variable result is not used

/src/org/eclipse/e4/xwt/tools/ui/designer/properties/tabbed/sections/TextSection.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/properties/tabbed/sections/TextSection.java
 (at line 66)
private void externalizeText() {
The method externalizeText() from the type TextSection is never used locally

/src/org/eclipse/e4/xwt/tools/ui/designer/wizards/ExternalizeStringsWizard.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/wizards/ExternalizeStringsWizard.java
 (at line 376)
List child = editPart.getChildren();
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/xwt/tools/ui/designer/wizards/models/TextValueModel.java : 7 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/wizards/models/TextValueModel.java
 (at line 25)
private Vector content;
Vector is a raw type. References to generic type Vector<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/wizards/models/TextValueModel.java
 (at line 27)
private List listeners = new ArrayList();
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/wizards/models/TextValueModel.java
 (at line 27)
private List listeners = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
4. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/wizards/models/TextValueModel.java
 (at line 30)
content = new Vector();
Vector is a raw type. References to generic type Vector<E> should be parameterized
5. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/wizards/models/TextValueModel.java
 (at line 34)
content.add(element);
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
6. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/wizards/models/TextValueModel.java
 (at line 50)
listeners.add(listener);
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
7. WARNING in /src/org/eclipse/e4/xwt/tools/ui/designer/wizards/models/TextValueModel.java
 (at line 61)
Iterator iter = listeners.iterator();
Iterator is a raw type. References to generic type Iterator<E> should be parameterized

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings