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

TOTAL : ERRORS: 0, WARNINGS: 51

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 : 8 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
 (at line 208)
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 490)
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 550)
parentContext = getContext((MElementContainer<MUIElement>) ((EObjectImpl) element) .eContainer());
Type safety: Unchecked cast from EObject to MElementContainer<MUIElement>
4. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
 (at line 612)
MElementContainer<MUIElement> container = (MElementContainer<MUIElement>) element;
Type safety: Unchecked cast from MUIElement to MElementContainer<MUIElement>
5. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
 (at line 880)
ServiceReference ref = context
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
6. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
 (at line 882)
IThemeManager mgr = (IThemeManager) context.getService(ref);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
7. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
 (at line 882)
IThemeManager mgr = (IThemeManager) context.getService(ref);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>

/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/internal/workbench/swt/WorkbenchSWTActivator.java : 13 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java
 (at line 44)
private ServiceTracker pkgAdminTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java
 (at line 45)
private ServiceTracker locationTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java
 (at line 47)
private ServiceTracker debugTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
4. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java
 (at line 92)
pkgAdminTracker = new ServiceTracker(context, PackageAdmin.class .getName(), null);
Type safety: The constructor ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized
5. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java
 (at line 92)
pkgAdminTracker = new ServiceTracker(context, PackageAdmin.class
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
6. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java
 (at line 111)
locationTracker = new ServiceTracker(context, filter, null);
Type safety: The constructor ServiceTracker(BundleContext, Filter, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized
7. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java
 (at line 111)
locationTracker = new ServiceTracker(context, filter, null);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
8. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java
 (at line 151)
debugTracker = new ServiceTracker(context, DebugOptions.class .getName(), null);
Type safety: The constructor ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized
9. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java
 (at line 151)
debugTracker = new ServiceTracker(context, DebugOptions.class
ServiceTracker is a raw type. References to generic type ServiceTracker<S,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

/src/org/eclipse/e4/ui/workbench/swt/modeling/MenuManagerServiceFilter.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/workbench/swt/modeling/MenuManagerServiceFilter.java
 (at line 65)
private MApplication application;
The field MenuManagerServiceFilter.application is never read locally
2. WARNING in /src/org/eclipse/e4/ui/workbench/swt/modeling/MenuManagerServiceFilter.java
 (at line 68)
private IPresentationEngine renderer;
The field MenuManagerServiceFilter.renderer is never read locally
3. WARNING in /src/org/eclipse/e4/ui/workbench/swt/modeling/MenuManagerServiceFilter.java
 (at line 76)
private HashMap<Menu, Runnable> pendingCleanup = new HashMap<Menu, Runnable>();
The field MenuManagerServiceFilter.pendingCleanup is never read locally

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 : 8 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
 (at line 959)
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/I20101029-1030/plugins/org.eclipse.e4.ui.css.core/@dot

/src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchSWTActivator.java : 13 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/v20101028-0200/plugins/org.eclipse.core.runtime_3.6.100.v20100628.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/v20101028-0200/plugins/org.eclipse.core.runtime_3.6.100.v20100628.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/v20101028-0200/plugins/org.eclipse.core.runtime_3.6.100.v20100628.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/v20101028-0200/plugins/org.eclipse.core.runtime_3.6.100.v20100628.jar