Compiler log for org.eclipse.e4.tm.graphics_0.9.0.v20091029-1230 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 97

errors others warnings forbidden warnings discouraged warnings

ERRORS

top others warnings forbidden warnings discouraged warnings

OTHER WARNINGS

top errors forbidden warnings discouraged warnings

/src/edu/umd/cs/piccolo/PCamera.java : 10 warnings :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/PCamera.java
 (at line 70)
public class PCamera extends PNode {
The serializable class PCamera does not declare a static final serialVersionUID field of type long
2. WARNING in /src/edu/umd/cs/piccolo/PCamera.java
 (at line 97)
private transient List layers;
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/edu/umd/cs/piccolo/PCamera.java
 (at line 107)
layers = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
4. WARNING in /src/edu/umd/cs/piccolo/PCamera.java
 (at line 170)
public List getLayersReference() {
List is a raw type. References to generic type List<E> should be parameterized
5. WARNING in /src/edu/umd/cs/piccolo/PCamera.java
 (at line 199)
layers.add(index, layer);
Type safety: The method add(int, Object) belongs to the raw type List. References to generic type List<E> should be parameterized
6. WARNING in /src/edu/umd/cs/piccolo/PCamera.java
 (at line 280)
ArrayList nodes = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
7. WARNING in /src/edu/umd/cs/piccolo/PCamera.java
 (at line 280)
ArrayList nodes = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
8. WARNING in /src/edu/umd/cs/piccolo/PCamera.java
 (at line 290)
Iterator i = getAllNodes(null, nodes).iterator();
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
9. WARNING in /src/edu/umd/cs/piccolo/PCamera.java
 (at line 717)
layers = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
10. WARNING in /src/edu/umd/cs/piccolo/PCamera.java
 (at line 725)
layers.add(each);
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized

/src/edu/umd/cs/piccolo/PInputManager.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/PInputManager.java
 (at line 62)
private PPickPath previousMouseFocus;
The field PInputManager.previousMouseFocus is never read locally

/src/edu/umd/cs/piccolo/PLayer.java : 7 warnings :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/PLayer.java
 (at line 56)
public class PLayer extends PNode {
The serializable class PLayer does not declare a static final serialVersionUID field of type long
2. WARNING in /src/edu/umd/cs/piccolo/PLayer.java
 (at line 68)
private transient List cameras;
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/edu/umd/cs/piccolo/PLayer.java
 (at line 72)
cameras = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
4. WARNING in /src/edu/umd/cs/piccolo/PLayer.java
 (at line 83)
public List getCamerasReference() {
List is a raw type. References to generic type List<E> should be parameterized
5. WARNING in /src/edu/umd/cs/piccolo/PLayer.java
 (at line 117)
cameras.add(index, camera);
Type safety: The method add(int, Object) belongs to the raw type List. References to generic type List<E> should be parameterized
6. WARNING in /src/edu/umd/cs/piccolo/PLayer.java
 (at line 195)
cameras = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
7. WARNING in /src/edu/umd/cs/piccolo/PLayer.java
 (at line 203)
cameras.add(each);
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized

/src/edu/umd/cs/piccolo/PNode.java : 23 warnings :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 86)
public class PNode implements Cloneable, Serializable //, Printable
The serializable class PNode does not declare a static final serialVersionUID field of type long
2. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 201)
private List children;
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 542)
public Enumeration getClientPropertyKeysEnumeration() {
Enumeration is a raw type. References to generic type Enumeration<E> should be parameterized
4. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 589)
public Iterator getClientPropertyKeysIterator() {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
5. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 590)
final Enumeration enumeration = getClientPropertyKeysEnumeration();
Enumeration is a raw type. References to generic type Enumeration<E> should be parameterized
6. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 591)
return new Iterator() {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
7. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 2638)
public void findIntersectingNodes(Rectangle fullBounds, ArrayList results) {
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
8. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 2643)
results.add(this);
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
9. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 2707)
getChildrenReference().add(index, child);
Type safety: The method add(int, Object) belongs to the raw type List. References to generic type List<E> should be parameterized
10. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 2720)
public void addChildren(Collection nodes) {
Collection is a raw type. References to generic type Collection<E> should be parameterized
11. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 2721)
Iterator i = nodes.iterator();
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
12. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 2887)
public void removeChildren(Collection childrenNodes) {
Collection is a raw type. References to generic type Collection<E> should be parameterized
13. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 2888)
Iterator i = childrenNodes.iterator();
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
14. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 2987)
public List getChildrenReference() {
List is a raw type. References to generic type List<E> should be parameterized
15. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 2989)
children = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
16. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 2999)
public ListIterator getChildrenIterator() {
ListIterator is a raw type. References to generic type ListIterator<E> should be parameterized
17. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 3003)
return Collections.unmodifiableList(children).listIterator();
Type safety: Unchecked invocation unmodifiableList(List) of the generic method unmodifiableList(List<? extends T>) of type Collections
18. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 3003)
return Collections.unmodifiableList(children).listIterator();
Type safety: The expression of type List needs unchecked conversion to conform to List<? extends Object>
19. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 3022)
public Collection getAllNodes() {
Collection is a raw type. References to generic type Collection<E> should be parameterized
20. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 3036)
public Collection getAllNodes(PNodeFilter filter, Collection results) {
Collection is a raw type. References to generic type Collection<E> should be parameterized
21. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 3036)
public Collection getAllNodes(PNodeFilter filter, Collection results) {
Collection is a raw type. References to generic type Collection<E> should be parameterized
22. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 3037)
if (results == null) results = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
23. WARNING in /src/edu/umd/cs/piccolo/PNode.java
 (at line 3038)
if (filter == null || filter.accept(this)) results.add(this);
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized

/src/edu/umd/cs/piccolo/PRoot.java : 5 warnings :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/PRoot.java
 (at line 52)
public class PRoot extends PNode {
The serializable class PRoot does not declare a static final serialVersionUID field of type long
2. WARNING in /src/edu/umd/cs/piccolo/PRoot.java
 (at line 67)
private transient List inputSources;
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/edu/umd/cs/piccolo/PRoot.java
 (at line 89)
inputSources = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
4. WARNING in /src/edu/umd/cs/piccolo/PRoot.java
 (at line 139)
Iterator i = getAllNodes(cameraWithCanvas, null).iterator();
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
5. WARNING in /src/edu/umd/cs/piccolo/PRoot.java
 (at line 177)
inputSources.add(inputSource);
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized

/src/edu/umd/cs/piccolo/activities/PActivityScheduler.java : 8 warnings :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/activities/PActivityScheduler.java
 (at line 55)
private List activities;
List is a raw type. References to generic type List<E> should be parameterized
2. WARNING in /src/edu/umd/cs/piccolo/activities/PActivityScheduler.java
 (at line 59)
private List processingActivities;
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/edu/umd/cs/piccolo/activities/PActivityScheduler.java
 (at line 63)
activities = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
4. WARNING in /src/edu/umd/cs/piccolo/activities/PActivityScheduler.java
 (at line 64)
processingActivities = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
5. WARNING in /src/edu/umd/cs/piccolo/activities/PActivityScheduler.java
 (at line 86)
activities.add(0, activity);
Type safety: The method add(int, Object) belongs to the raw type List. References to generic type List<E> should be parameterized
6. WARNING in /src/edu/umd/cs/piccolo/activities/PActivityScheduler.java
 (at line 88)
activities.add(activity);
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/edu/umd/cs/piccolo/activities/PActivityScheduler.java
 (at line 115)
public List getActivitiesReference() {
List is a raw type. References to generic type List<E> should be parameterized
8. WARNING in /src/edu/umd/cs/piccolo/activities/PActivityScheduler.java
 (at line 127)
processingActivities.addAll(activities);
Type safety: The method addAll(Collection) belongs to the raw type List. References to generic type List<E> should be parameterized

/src/edu/umd/cs/piccolo/nodes/PImage.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/nodes/PImage.java
 (at line 53)
public class PImage extends PNode {
The serializable class PImage does not declare a static final serialVersionUID field of type long

/src/edu/umd/cs/piccolo/nodes/PPath.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/nodes/PPath.java
 (at line 72)
public class PPath extends PNode {
The serializable class PPath does not declare a static final serialVersionUID field of type long

/src/edu/umd/cs/piccolo/nodes/PRect.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/nodes/PRect.java
 (at line 66)
public class PRect extends PNode {
The serializable class PRect does not declare a static final serialVersionUID field of type long
2. WARNING in /src/edu/umd/cs/piccolo/nodes/PRect.java
 (at line 126)
private Rectangle resizeBounds = null;
The field PRect.resizeBounds is never read locally

/src/edu/umd/cs/piccolo/nodes/PText.java : 5 warnings :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/nodes/PText.java
 (at line 52)
public class PText extends PNode {
The serializable class PText does not declare a static final serialVersionUID field of type long
2. WARNING in /src/edu/umd/cs/piccolo/nodes/PText.java
 (at line 223)
List linesList = new ArrayList();
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/edu/umd/cs/piccolo/nodes/PText.java
 (at line 223)
List linesList = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
4. WARNING in /src/edu/umd/cs/piccolo/nodes/PText.java
 (at line 248)
linesList.add(line.toString());
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/edu/umd/cs/piccolo/nodes/PText.java
 (at line 260)
lines = (String[])linesList.toArray(new String[linesList.size()]);
Type safety: The method toArray(Object[]) belongs to the raw type List. References to generic type List<E> should be parameterized

/src/edu/umd/cs/piccolo/util/PBounds.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/util/PBounds.java
 (at line 55)
public class PBounds extends Rectangle implements Serializable {
The serializable class PBounds does not declare a static final serialVersionUID field of type long

/src/edu/umd/cs/piccolo/util/PLocator.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/util/PLocator.java
 (at line 45)
public abstract class PLocator implements Serializable {
The serializable class PLocator does not declare a static final serialVersionUID field of type long

/src/edu/umd/cs/piccolo/util/PObjectOutputStream.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/util/PObjectOutputStream.java
 (at line 68)
private HashMap unconditionallyWritten;
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
2. WARNING in /src/edu/umd/cs/piccolo/util/PObjectOutputStream.java
 (at line 79)
unconditionallyWritten = new HashMap();
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
3. WARNING in /src/edu/umd/cs/piccolo/util/PObjectOutputStream.java
 (at line 113)
PObjectOutputStream.this.unconditionallyWritten.put(object, Boolean.TRUE);
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized

/src/edu/umd/cs/piccolo/util/PPickPath.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/util/PPickPath.java
 (at line 77)
private HashMap excludedNodes;
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
2. WARNING in /src/edu/umd/cs/piccolo/util/PPickPath.java
 (at line 135)
if (excludedNodes == null) excludedNodes = new HashMap();
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
3. WARNING in /src/edu/umd/cs/piccolo/util/PPickPath.java
 (at line 138)
excludedNodes.put(picked, picked);
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized

/src/edu/umd/cs/piccolo/util/PStack.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/util/PStack.java
 (at line 41)
public class PStack extends ArrayList {
The serializable class PStack does not declare a static final serialVersionUID field of type long
2. WARNING in /src/edu/umd/cs/piccolo/util/PStack.java
 (at line 41)
public class PStack extends ArrayList {
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
3. WARNING in /src/edu/umd/cs/piccolo/util/PStack.java
 (at line 47)
add(o);
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized

/src/edu/umd/cs/piccolo/util/PUtil.java : 4 warnings :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolo/util/PUtil.java
 (at line 54)
public static Iterator NULL_ITERATOR = Collections.EMPTY_LIST.iterator();
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
2. WARNING in /src/edu/umd/cs/piccolo/util/PUtil.java
 (at line 55)
public static Enumeration NULL_ENUMERATION = new Enumeration() {
Enumeration is a raw type. References to generic type Enumeration<E> should be parameterized
3. WARNING in /src/edu/umd/cs/piccolo/util/PUtil.java
 (at line 55)
public static Enumeration NULL_ENUMERATION = new Enumeration() {
Enumeration is a raw type. References to generic type Enumeration<E> should be parameterized
4. WARNING in /src/edu/umd/cs/piccolo/util/PUtil.java
 (at line 122)
private static final int PATH_IS_DONE = -1;
The field PUtil.PATH_IS_DONE is never read locally

/src/edu/umd/cs/piccolox/nodes/PArc.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolox/nodes/PArc.java
 (at line 36)
public class PArc extends PRect {
The serializable class PArc does not declare a static final serialVersionUID field of type long

/src/edu/umd/cs/piccolox/nodes/PLine.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolox/nodes/PLine.java
 (at line 27)
public class PLine extends PNode {
The serializable class PLine does not declare a static final serialVersionUID field of type long

/src/edu/umd/cs/piccolox/nodes/POval.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolox/nodes/POval.java
 (at line 36)
public class POval extends PRect {
The serializable class POval does not declare a static final serialVersionUID field of type long

/src/edu/umd/cs/piccolox/nodes/PRoundedRect.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolox/nodes/PRoundedRect.java
 (at line 36)
public class PRoundedRect extends PRect {
The serializable class PRoundedRect does not declare a static final serialVersionUID field of type long

/src/edu/umd/cs/piccolox/util/PAbstractLineLocator.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolox/util/PAbstractLineLocator.java
 (at line 39)
public abstract class PAbstractLineLocator extends PLocator {
The serializable class PAbstractLineLocator does not declare a static final serialVersionUID field of type long

/src/edu/umd/cs/piccolox/util/PLineLocator.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolox/util/PLineLocator.java
 (at line 41)
public class PLineLocator extends PAbstractLineLocator {
The serializable class PLineLocator does not declare a static final serialVersionUID field of type long

/src/edu/umd/cs/piccolox/util/PLocatorsLineLocator.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolox/util/PLocatorsLineLocator.java
 (at line 40)
public class PLocatorsLineLocator extends PAbstractLineLocator {
The serializable class PLocatorsLineLocator does not declare a static final serialVersionUID field of type long

/src/edu/umd/cs/piccolox/util/PNodeLocator.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/edu/umd/cs/piccolox/util/PNodeLocator.java
 (at line 48)
public class PNodeLocator extends PLocator {
The serializable class PNodeLocator does not declare a static final serialVersionUID field of type long

/src/org/eclipse/e4/tm/graphics/builder/CanvasBinder.java : 5 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/tm/graphics/builder/CanvasBinder.java
 (at line 27)
private final static Class<?>[] constructorParameterTypes = new Class[]{org.eclipse.swt.widgets.Composite.class, int.class};
The field CanvasBinder.constructorParameterTypes is never read locally
2. WARNING in /src/org/eclipse/e4/tm/graphics/builder/CanvasBinder.java
 (at line 44)
return (T)pCanvas;
Type safety: Unchecked cast from PCanvas to T
3. WARNING in /src/org/eclipse/e4/tm/graphics/builder/CanvasBinder.java
 (at line 46)
return (T)pCanvas.getRoot();
Type safety: Unchecked cast from PRoot to T
4. WARNING in /src/org/eclipse/e4/tm/graphics/builder/CanvasBinder.java
 (at line 48)
return (T)pCanvas.getCamera();
Type safety: Unchecked cast from PCamera to T
5. WARNING in /src/org/eclipse/e4/tm/graphics/builder/CanvasBinder.java
 (at line 57)
PCanvas canvas = new PCanvas(parent);
The local variable canvas is never read

/src/org/eclipse/e4/tm/graphics/builder/Graphical2dBinder.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/tm/graphics/builder/Graphical2dBinder.java
 (at line 30)
return (T)((PNode)value).getDisplay();
Type safety: Unchecked cast from Display to T

/src/org/eclipse/e4/tm/graphics/util/Point.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/tm/graphics/util/Point.java
 (at line 14)
public class Point extends AbstractCloneable implements Comparable {
Comparable is a raw type. References to generic type Comparable<T> should be parameterized

/src/org/eclipse/e4/tm/graphics/util/Rectangle.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/tm/graphics/util/Rectangle.java
 (at line 14)
public class Rectangle extends AbstractCloneable implements Comparable {
Comparable is a raw type. References to generic type Comparable<T> should be parameterized

/src/org/eclipse/e4/tm/graphics2d/Graphics2dPackage.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/tm/graphics2d/Graphics2dPackage.java
 (at line 10)
import org.eclipse.e4.tm.styles.StylesPackage;
The import org.eclipse.e4.tm.styles.StylesPackage is never used

/src/org/eclipse/e4/tm/graphics2d/impl/CanvasImpl.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/tm/graphics2d/impl/CanvasImpl.java
 (at line 16)
import org.eclipse.emf.common.notify.Notification;
The import org.eclipse.emf.common.notify.Notification is never used
2. WARNING in /src/org/eclipse/e4/tm/graphics2d/impl/CanvasImpl.java
 (at line 25)
import org.eclipse.emf.ecore.impl.ENotificationImpl;
The import org.eclipse.emf.ecore.impl.ENotificationImpl is never used

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings