Compiler log for org.eclipse.e4.ui.workbench.swt_0.9.1.v20100726-1215 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 35

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/ui/internal/workbench/swt/PartRenderingEngine.java : 4 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
 (at line 163)
MElementContainer<MUIElement> changedElement = (MElementContainer<MUIElement>) changedObj;
Type safety: Unchecked cast from Object to MElementContainer<MUIElement>
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
 (at line 415)
renderer.processContents((MElementContainer<MUIElement>) element);
Type safety: Unchecked cast from MUIElement to MElementContainer<MUIElement>
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
 (at line 475)
parentContext = getContext((MElementContainer<MUIElement>) ((EObjectImpl) element) .eContainer());
Type safety: Unchecked cast from EObject to MElementContainer<MUIElement>

/src/org/eclipse/e4/ui/internal/workbench/swt/SelectionAdapterFactory.java : 7 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/SelectionAdapterFactory.java
 (at line 56)
public Iterator iterator() {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/SelectionAdapterFactory.java
 (at line 64)
private static final Class[] CLASSES = new Class[] { IIterable.class,
Class is a raw type. References to generic type Class<T> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/SelectionAdapterFactory.java
 (at line 67)
public Object getAdapter(Object adaptableObject, Class adapterType) {
Class is a raw type. References to generic type Class<T> should be parameterized
4. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/SelectionAdapterFactory.java
 (at line 84)
public Iterator iterator() {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
5. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/SelectionAdapterFactory.java
 (at line 89)
final List list = Arrays.asList(new Object[] { sel });
List is a raw type. References to generic type List<E> should be parameterized
6. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/SelectionAdapterFactory.java
 (at line 92)
public Iterator iterator() {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
7. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/SelectionAdapterFactory.java
 (at line 113)
public Class[] getAdapterList() {
Class is a raw type. References to generic type Class<T> should be parameterized

/src/org/eclipse/e4/ui/workbench/swt/internal/copy/PatternFilter.java : 10 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/PatternFilter.java
 (at line 32)
private Map cache = new HashMap();
Map is a raw type. References to generic type Map<K,V> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/PatternFilter.java
 (at line 32)
private Map cache = new HashMap();
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/PatternFilter.java
 (at line 37)
private Map foundAnyCache = new HashMap();
Map is a raw type. References to generic type Map<K,V> should be parameterized
4. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/PatternFilter.java
 (at line 37)
private Map foundAnyCache = new HashMap();
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
5. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/PatternFilter.java
 (at line 83)
cache.put(parent, filtered);
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
6. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/PatternFilter.java
 (at line 116)
foundAnyCache.put(parent, foundAny);
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
7. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/PatternFilter.java
 (at line 303)
List words = new ArrayList();
List is a raw type. References to generic type List<E> should be parameterized
8. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/PatternFilter.java
 (at line 303)
List words = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
9. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/PatternFilter.java
 (at line 323)
words.add(word);
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
10. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/PatternFilter.java
 (at line 327)
return (String[]) words.toArray(new String[words.size()]);
Type safety: The method toArray(Object[]) belongs to the raw type List. References to generic type List<E> should be parameterized

/src/org/eclipse/e4/ui/workbench/swt/internal/copy/ShowViewDialog.java : 5 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/ShowViewDialog.java
 (at line 379)
ArrayList descs = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/ShowViewDialog.java
 (at line 379)
ArrayList descs = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/ShowViewDialog.java
 (at line 381)
for (Iterator i = sel.iterator(); i.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
4. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/ShowViewDialog.java
 (at line 384)
descs.add(o);
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
5. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/ShowViewDialog.java
 (at line 389)
descs.toArray(viewDescs);
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/ui/workbench/swt/internal/copy/StringMatcher.java : 4 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/StringMatcher.java
 (at line 309)
Vector temp = new Vector();
Vector is a raw type. References to generic type Vector<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/StringMatcher.java
 (at line 309)
Vector temp = new Vector();
Vector is a raw type. References to generic type Vector<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/StringMatcher.java
 (at line 334)
temp.addElement(buf.toString());
Type safety: The method addElement(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
4. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/StringMatcher.java
 (at line 350)
temp.addElement(buf.toString());
Type safety: The method addElement(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized

/src/org/eclipse/e4/ui/workbench/swt/internal/copy/ViewComparator.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/workbench/swt/internal/copy/ViewComparator.java
 (at line 60)
return getComparator().compare(str1, str2);
Type safety: The method compare(Object, Object) belongs to the raw type Comparator. References to generic type Comparator<T> should be parameterized

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings

/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java : 4 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
 (at line 889)
Element e = engine.getCSSElementContext(widget) .getElement();
Discouraged access: The method getElement() from the type CSSElementContext is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/I20100727-1415/plugins/org.eclipse.e4.ui.css.core/@dot

/src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java : 4 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java
 (at line 19)
import org.eclipse.core.internal.runtime.InternalPlatform;
Discouraged access: The type InternalPlatform is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20100617/plugins/org.eclipse.core.runtime_3.6.0.v20100505.jar
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java
 (at line 304)
return InternalPlatform.getDefault().getStateLocation(
Discouraged access: The type InternalPlatform is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20100617/plugins/org.eclipse.core.runtime_3.6.0.v20100505.jar
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java
 (at line 304)
return InternalPlatform.getDefault().getStateLocation(
Discouraged access: The method getDefault() from the type InternalPlatform is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20100617/plugins/org.eclipse.core.runtime_3.6.0.v20100505.jar
4. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java
 (at line 304)
return InternalPlatform.getDefault().getStateLocation( context.getBundle(), true);
Discouraged access: The method getStateLocation(Bundle, boolean) from the type InternalPlatform is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20100617/plugins/org.eclipse.core.runtime_3.6.0.v20100505.jar