Compiler log for org.eclipse.e4.ui.workbench_0.9.1.v20100618-1245 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 64

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/ConfigurationElementAdapter.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ConfigurationElementAdapter.java
 (at line 26)
public Object getAdapter(Object adaptableObject, Class adapterType) {
Class is a raw type. References to generic type Class<T> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ConfigurationElementAdapter.java
 (at line 30)
public Class[] getAdapterList() {
Class is a raw type. References to generic type Class<T> should be parameterized

/src/org/eclipse/e4/ui/internal/workbench/E4Workbench.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/E4Workbench.java
 (at line 224)
List<MUIElement> children = ((MElementContainer) me).getChildren();
Type safety: The expression of type List needs unchecked conversion to conform to List<MUIElement>
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/E4Workbench.java
 (at line 224)
List<MUIElement> children = ((MElementContainer) me).getChildren();
MElementContainer is a raw type. References to generic type MElementContainer<T> should be parameterized

/src/org/eclipse/e4/ui/internal/workbench/EMFDeltaEntrySet.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/EMFDeltaEntrySet.java
 (at line 35)
EMap map = (EMap) ((EObject) getObject()).eGet(feature);
EMap is a raw type. References to generic type EMap<K,V> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/EMFDeltaEntrySet.java
 (at line 35)
EMap map = (EMap) ((EObject) getObject()).eGet(feature);
EMap is a raw type. References to generic type EMap<K,V> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/EMFDeltaEntrySet.java
 (at line 36)
map.put(key, value);
Type safety: The method put(Object, Object) belongs to the raw type EMap. References to generic type EMap<K,V> should be parameterized

/src/org/eclipse/e4/ui/internal/workbench/EMFDeltaMapSet.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/EMFDeltaMapSet.java
 (at line 34)
EMap map = (EMap) ((EObject) getObject()).eGet(feature);
EMap is a raw type. References to generic type EMap<K,V> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/EMFDeltaMapSet.java
 (at line 34)
EMap map = (EMap) ((EObject) getObject()).eGet(feature);
EMap is a raw type. References to generic type EMap<K,V> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/EMFDeltaMapSet.java
 (at line 36)
map.putAll(deltaMap);
Type safety: The method putAll(Map) belongs to the raw type EMap. References to generic type EMap<K,V> should be parameterized

/src/org/eclipse/e4/ui/internal/workbench/ModelAssembler.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ModelAssembler.java
 (at line 267)
List<Object> l = (List<Object>) interalTarget.eGet(internalFeature);
Type safety: Unchecked cast from Object to List<Object>

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

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java
 (at line 63)
private boolean match(MUIElement element, String id, Class clazz, List<String> tagsToMatch) {
Class is a raw type. References to generic type Class<T> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java
 (at line 85)
if (!elements.contains((T) searchRoot))
Type safety: Unchecked cast from MUIElement to T
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java
 (at line 86)
elements.add((T) searchRoot);
Type safety: Unchecked cast from MUIElement to T
4. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java
 (at line 91)
MElementContainer<MUIElement> container = (MElementContainer<MUIElement>) searchRoot;
Type safety: Unchecked cast from MUIElement to MElementContainer<MUIElement>
5. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java
 (at line 150)
List elements = findElements(searchRoot, id, null, null);
List is a raw type. References to generic type List<E> should be parameterized
6. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java
 (at line 223)
((MElementContainer<MUIElement>) parent).setSelectedElement(element);
Type safety: Unchecked cast from MUIElement to MElementContainer<MUIElement>
7. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java
 (at line 405)
MGenericTile<MUIElement> curTile = (MGenericTile<MUIElement>) insertRoot;
Type safety: Unchecked cast from MUIElement to MGenericTile<MUIElement>

/src/org/eclipse/e4/ui/internal/workbench/Parameter.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Parameter.java
 (at line 163)
public Map getParameterValues() {
Map is a raw type. References to generic type Map<K,V> should be parameterized

/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java : 6 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
 (at line 99)
public void setRootContainer(@Named(EPartService.PART_SERVICE_ROOT) MElementContainer root) {
MElementContainer is a raw type. References to generic type MElementContainer<T> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
 (at line 100)
rootContainer = root;
Type safety: The expression of type MElementContainer needs unchecked conversion to conform to MElementContainer<MUIElement>
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
 (at line 165)
rootContainer = (MElementContainer<MUIElement>) childContext .get(MWindow.class.getName());
Type safety: Unchecked cast from Object to MElementContainer<MUIElement>
4. WARNING in /src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
 (at line 494)
((MElementContainer<MPart>) element).getChildren().add(providedPart);
Type safety: Unchecked cast from Object to MElementContainer<MPart>
5. WARNING in /src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
 (at line 514)
((List) lastContainer.getChildren()).add(part);
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/ui/internal/workbench/PartServiceImpl.java
 (at line 514)
((List) lastContainer.getChildren()).add(part);
List is a raw type. References to generic type List<E> should be parameterized

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

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ResourceHandler.java
 (at line 237)
long restoreLastModified = getLastStoreDatetime();
Dead code

/src/org/eclipse/e4/ui/internal/workbench/WorkbenchLogger.java : 5 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/WorkbenchLogger.java
 (at line 56)
ArrayList childlist = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/WorkbenchLogger.java
 (at line 56)
ArrayList childlist = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/WorkbenchLogger.java
 (at line 63)
childlist.add(getLog(coreStatus));
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/ui/internal/workbench/WorkbenchLogger.java
 (at line 70)
childlist.add(getLog(children[i]));
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/internal/workbench/WorkbenchLogger.java
 (at line 75)
: childlist.toArray(new FrameworkLogEntry[childlist.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/ui/internal/workbench/XMLModelReconciler.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/XMLModelReconciler.java
 (at line 874)
EMap map = (EMap) object.eGet(feature);
EMap is a raw type. References to generic type EMap<K,V> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/XMLModelReconciler.java
 (at line 874)
EMap map = (EMap) object.eGet(feature);
EMap is a raw type. References to generic type EMap<K,V> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/XMLModelReconciler.java
 (at line 881)
map.put(keyValue.getAttribute(ENTRY_ATTVALUE_KEY), keyValue .getAttribute(ENTRY_ATTVALUE_VALUE));
Type safety: The method put(Object, Object) belongs to the raw type EMap. References to generic type EMap<K,V> should be parameterized

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

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/workbench/modeling/EObjModelHandler.java
 (at line 23)
public Object getAdapter(Object adaptableObject, Class adapterType) {
Class is a raw type. References to generic type Class<T> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/workbench/modeling/EObjModelHandler.java
 (at line 27)
public Class[] getAdapterList() {
Class is a raw type. References to generic type Class<T> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/workbench/modeling/EObjModelHandler.java
 (at line 59)
for (Iterator iterator = features.iterator(); iterator.hasNext();) {
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

/src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java : 24 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 18)
import org.eclipse.equinox.concurrent.future.AbstractExecutor;
Discouraged access: The type AbstractExecutor 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.equinox.concurrent_1.0.100.v20100503.jar
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 19)
import org.eclipse.equinox.concurrent.future.AbstractFuture;
Discouraged access: The type AbstractFuture 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.equinox.concurrent_1.0.100.v20100503.jar
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 20)
import org.eclipse.equinox.concurrent.future.FutureProgressMonitor;
Discouraged access: The type FutureProgressMonitor 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.equinox.concurrent_1.0.100.v20100503.jar
4. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 21)
import org.eclipse.equinox.concurrent.future.IFuture;
Discouraged access: The type IFuture 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.equinox.concurrent_1.0.100.v20100503.jar
5. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 22)
import org.eclipse.equinox.concurrent.future.IProgressRunnable;
Discouraged access: The type IProgressRunnable 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.equinox.concurrent_1.0.100.v20100503.jar
6. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 23)
import org.eclipse.equinox.concurrent.future.SingleOperationFuture;
Discouraged access: The type SingleOperationFuture 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.equinox.concurrent_1.0.100.v20100503.jar
7. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 29)
public class JobExecutor extends AbstractExecutor implements
Discouraged access: The type AbstractExecutor 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.equinox.concurrent_1.0.100.v20100503.jar
8. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 32)
public IFuture schedule(final IProgressRunnable runnable, String name,
Discouraged access: The type IFuture 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.equinox.concurrent_1.0.100.v20100503.jar
9. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 32)
public IFuture schedule(final IProgressRunnable runnable, String name,
Discouraged access: The type IProgressRunnable 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.equinox.concurrent_1.0.100.v20100503.jar
10. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 34)
final SingleOperationFuture future = new SingleOperationFuture();
Discouraged access: The type SingleOperationFuture 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.equinox.concurrent_1.0.100.v20100503.jar
11. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 34)
final SingleOperationFuture future = new SingleOperationFuture();
Discouraged access: The constructor SingleOperationFuture() 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.equinox.concurrent_1.0.100.v20100503.jar
12. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 34)
final SingleOperationFuture future = new SingleOperationFuture();
Discouraged access: The type SingleOperationFuture 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.equinox.concurrent_1.0.100.v20100503.jar
13. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 37)
if (future.isCanceled())
Discouraged access: The method isCanceled() from the type SingleOperationFuture 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.equinox.concurrent_1.0.100.v20100503.jar
14. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 38)
return future.getStatus();
Discouraged access: The method getStatus() from the type SingleOperationFuture 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.equinox.concurrent_1.0.100.v20100503.jar
15. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 40)
((FutureProgressMonitor) future.getProgressMonitor()) .setChildProgressMonitor(monitor);
Discouraged access: The method setChildProgressMonitor(IProgressMonitor) from the type FutureProgressMonitor 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.equinox.concurrent_1.0.100.v20100503.jar
16. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 40)
((FutureProgressMonitor) future.getProgressMonitor())
Discouraged access: The type FutureProgressMonitor 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.equinox.concurrent_1.0.100.v20100503.jar
17. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 40)
((FutureProgressMonitor) future.getProgressMonitor())
Discouraged access: The method getProgressMonitor() from the type SingleOperationFuture 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.equinox.concurrent_1.0.100.v20100503.jar
18. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 43)
future.runWithProgress(runnable);
Discouraged access: The method runWithProgress(IProgressRunnable) from the type SingleOperationFuture 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.equinox.concurrent_1.0.100.v20100503.jar
19. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 44)
return future.getStatus();
Discouraged access: The method getStatus() from the type SingleOperationFuture 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.equinox.concurrent_1.0.100.v20100503.jar
20. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 51)
protected AbstractFuture createFuture(IProgressMonitor progressMonitor) {
Discouraged access: The type AbstractFuture 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.equinox.concurrent_1.0.100.v20100503.jar
21. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 52)
return new SingleOperationFuture(progressMonitor);
Discouraged access: The constructor SingleOperationFuture(IProgressMonitor) 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.equinox.concurrent_1.0.100.v20100503.jar
22. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 52)
return new SingleOperationFuture(progressMonitor);
Discouraged access: The type SingleOperationFuture 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.equinox.concurrent_1.0.100.v20100503.jar
23. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 56)
public IFuture execute(IProgressRunnable runnable, IProgressMonitor monitor) {
Discouraged access: The type IFuture 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.equinox.concurrent_1.0.100.v20100503.jar
24. WARNING in /src/org/eclipse/e4/ui/internal/workbench/JobExecutor.java
 (at line 56)
public IFuture execute(IProgressRunnable runnable, IProgressMonitor monitor) {
Discouraged access: The type IProgressRunnable 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.equinox.concurrent_1.0.100.v20100503.jar

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

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ResourceHandler.java
 (at line 28)
import org.eclipse.core.internal.runtime.PlatformURLPluginConnection;
Discouraged access: The type PlatformURLPluginConnection 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.equinox.common_3.6.0.v20100503.jar
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ResourceHandler.java
 (at line 280)
Object[] obj = PlatformURLPluginConnection.parse(url.getFile().trim(), url);
Discouraged access: The type PlatformURLPluginConnection 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.equinox.common_3.6.0.v20100503.jar
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ResourceHandler.java
 (at line 280)
Object[] obj = PlatformURLPluginConnection.parse(url.getFile().trim(), url);
Discouraged access: The method parse(String, URL) from the type PlatformURLPluginConnection 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.equinox.common_3.6.0.v20100503.jar