Compiler log for org.eclipse.e4.ui.workbench_1.2.2.v20141212-1259 : @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/EMFDeltaEntrySet.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/EMFDeltaEntrySet.java
 (at line 36)
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 36)
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 37)
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/Util.java : 15 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 33)
public static final SortedSet EMPTY_SORTED_SET = Collections
SortedSet is a raw type. References to generic type SortedSet<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 33)
public static final SortedSet EMPTY_SORTED_SET = Collections .unmodifiableSortedSet(new TreeSet());
Type safety: Unchecked invocation unmodifiableSortedSet(TreeSet) of the generic method unmodifiableSortedSet(SortedSet<T>) of type Collections
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 34)
.unmodifiableSortedSet(new TreeSet());
Type safety: The expression of type TreeSet needs unchecked conversion to conform to SortedSet<Object>
4. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 34)
.unmodifiableSortedSet(new TreeSet());
TreeSet is a raw type. References to generic type TreeSet<E> should be parameterized
5. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 50)
public static final void assertInstance(final Object object, final Class c) {
Class is a raw type. References to generic type Class<T> should be parameterized
6. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 65)
private static final void assertInstance(final Object object, final Class c,
Class is a raw type. References to generic type Class<T> should be parameterized
7. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 117)
public static final int compare(final Comparable left, final Comparable right) {
Comparable is a raw type. References to generic type Comparable<T> should be parameterized
8. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 117)
public static final int compare(final Comparable left, final Comparable right) {
Comparable is a raw type. References to generic type Comparable<T> should be parameterized
9. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 125)
return left.compareTo(right);
Type safety: The method compareTo(Object) belongs to the raw type Comparable. References to generic type Comparable<T> should be parameterized
10. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 139)
public static final int compare(final Comparable[] left, final Comparable[] right) {
Comparable is a raw type. References to generic type Comparable<T> should be parameterized
11. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 139)
public static final int compare(final Comparable[] left, final Comparable[] right) {
Comparable is a raw type. References to generic type Comparable<T> should be parameterized
12. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 179)
public static final int compare(final List left, final List right) {
List is a raw type. References to generic type List<E> should be parameterized
13. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 179)
public static final int compare(final List left, final List right) {
List is a raw type. References to generic type List<E> should be parameterized
14. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 195)
int compareTo = compare((Comparable) left.get(i), (Comparable) right.get(i));
Comparable is a raw type. References to generic type Comparable<T> should be parameterized
15. WARNING in /src/org/eclipse/e4/ui/internal/workbench/Util.java
 (at line 195)
int compareTo = compare((Comparable) left.get(i), (Comparable) right.get(i));
Comparable is a raw type. References to generic type Comparable<T> 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 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/EMFDeltaMapSet.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/EMFDeltaMapSet.java
 (at line 37)
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/workbench/modeling/EObjModelHandler.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/workbench/modeling/EObjModelHandler.java
 (at line 65)
for (Iterator iterator = features.iterator(); iterator.hasNext();) {
Iterator is a raw type. References to generic type Iterator<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 783)
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 783)
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 790)
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/internal/LocaleChangeServiceImpl.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/LocaleChangeServiceImpl.java
 (at line 109)
@SuppressWarnings({ "rawtypes", "unchecked" })
Unnecessary @SuppressWarnings("unchecked")

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

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java
 (at line 151)
elements.add((T) searchRoot);
Type safety: Unchecked cast from MApplicationElement to T
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java
 (at line 199)
MElementContainer<MUIElement> container = (MElementContainer<MUIElement>) searchRoot;
Type safety: Unchecked cast from MApplicationElement to MElementContainer<MUIElement>
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java
 (at line 219)
MElementContainer<MUIElement> container = (MElementContainer<MUIElement>) searchRoot;
Type safety: Unchecked cast from MApplicationElement to MElementContainer<MUIElement>
4. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java
 (at line 341)
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/ModelServiceImpl.java
 (at line 488)
((MElementContainer<MUIElement>) parent).setSelectedElement(element);
Type safety: Unchecked cast from MUIElement to MElementContainer<MUIElement>

/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 63)
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 63)
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 70)
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 77)
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 82)
: 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/PartServiceImpl.java : 10 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
 (at line 916)
List<MElementContainer> containers = modelService.findElements(getContainer(),
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 925)
MElementContainer container = containers.get(0);
MElementContainer is a raw type. References to generic type MElementContainer<T> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
 (at line 988)
((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
4. WARNING in /src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
 (at line 988)
((List) lastContainer.getChildren()).add(part);
List is a raw type. References to generic type List<E> should be parameterized
5. WARNING in /src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
 (at line 990)
((List) lastContainer.getChildren()).add(placeholder);
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 990)
((List) lastContainer.getChildren()).add(placeholder);
List is a raw type. References to generic type List<E> should be parameterized
7. WARNING in /src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
 (at line 1072)
return (MElementContainer<MUIElement>) container;
Type safety: Unchecked cast from MElementContainer<capture#41-of ?> to MElementContainer<MUIElement>
8. WARNING in /src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
 (at line 1077)
return (MElementContainer<MUIElement>) container;
Type safety: Unchecked cast from MElementContainer<capture#42-of ?> to MElementContainer<MUIElement>
9. WARNING in /src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
 (at line 1395)
return (MElementContainer<MUIElement>) container;
Type safety: Unchecked cast from MElementContainer<capture#48-of ?> to MElementContainer<MUIElement>
10. WARNING in /src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
 (at line 1404)
return (MElementContainer<MUIElement>) outerContainer;
Type safety: Unchecked cast from MElementContainer<capture#52-of ? extends MUIElement> to MElementContainer<MUIElement>

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/ResourceHandler.java : 3 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ResourceHandler.java
 (at line 30)
import org.eclipse.core.internal.runtime.PlatformURLPluginConnection;
Discouraged access: The type 'PlatformURLPluginConnection' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.bundles/bundles/org.eclipse.equinox.common/target/classes')
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ResourceHandler.java
 (at line 382)
Object[] obj = PlatformURLPluginConnection.parse(url.getFile().trim(), url);
Discouraged access: The type 'PlatformURLPluginConnection' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.bundles/bundles/org.eclipse.equinox.common/target/classes')
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ResourceHandler.java
 (at line 382)
Object[] obj = PlatformURLPluginConnection.parse(url.getFile().trim(), url);
Discouraged access: The method 'PlatformURLPluginConnection.parse(String, URL)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/rt.equinox.bundles/bundles/org.eclipse.equinox.common/target/classes')

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

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/addons/HandlerProcessingAddon.java
 (at line 21)
import org.eclipse.e4.core.di.extensions.EventTopic;
Discouraged access: The type 'EventTopic' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.di.extensions/target/classes')
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/addons/HandlerProcessingAddon.java
 (at line 69)
@Optional @EventTopic(UIEvents.HandlerContainer.TOPIC_HANDLERS) Event event) {
Discouraged access: The type 'EventTopic' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.di.extensions/target/classes')
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/addons/HandlerProcessingAddon.java
 (at line 117)
public void handleContextEvent(@Optional @EventTopic(UIEvents.Context.TOPIC_CONTEXT) Event event) {
Discouraged access: The type 'EventTopic' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.di.extensions/target/classes')

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

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ContributionsAnalyzer.java
 (at line 23)
import org.eclipse.core.internal.expressions.ReferenceExpression;
Discouraged access: The type 'ReferenceExpression' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.core.expressions/target/classes')
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ContributionsAnalyzer.java
 (at line 212)
ref = new ReferenceExpression(expr.getCoreExpressionId());
Discouraged access: The constructor 'ReferenceExpression(String)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.core.expressions/target/classes')
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ContributionsAnalyzer.java
 (at line 212)
ref = new ReferenceExpression(expr.getCoreExpressionId());
Discouraged access: The type 'ReferenceExpression' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.core.expressions/target/classes')
4. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ContributionsAnalyzer.java
 (at line 244)
ref = new ReferenceExpression(exp.getCoreExpressionId());
Discouraged access: The constructor 'ReferenceExpression(String)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.core.expressions/target/classes')
5. WARNING in /src/org/eclipse/e4/ui/internal/workbench/ContributionsAnalyzer.java
 (at line 244)
ref = new ReferenceExpression(exp.getCoreExpressionId());
Discouraged access: The type 'ReferenceExpression' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.core.expressions/target/classes')

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

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/SelectionAggregator.java
 (at line 28)
import org.eclipse.e4.core.internal.contexts.EclipseContext;
Discouraged access: The type 'EclipseContext' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.contexts/target/classes')
2. WARNING in /src/org/eclipse/e4/ui/internal/workbench/SelectionAggregator.java
 (at line 29)
import org.eclipse.e4.core.internal.contexts.IContextDisposalListener;
Discouraged access: The type 'IContextDisposalListener' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.contexts/target/classes')
3. WARNING in /src/org/eclipse/e4/ui/internal/workbench/SelectionAggregator.java
 (at line 205)
if (context instanceof EclipseContext) {
Discouraged access: The type 'EclipseContext' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.contexts/target/classes')
4. WARNING in /src/org/eclipse/e4/ui/internal/workbench/SelectionAggregator.java
 (at line 206)
((EclipseContext) context).notifyOnDisposal(new IContextDisposalListener() { @Override public void disposed(IEclipseContext context) { tracked.remove(context); } });
Discouraged access: The method 'EclipseContext.notifyOnDisposal(IContextDisposalListener)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.contexts/target/classes')
5. WARNING in /src/org/eclipse/e4/ui/internal/workbench/SelectionAggregator.java
 (at line 206)
((EclipseContext) context).notifyOnDisposal(new IContextDisposalListener() {
Discouraged access: The type 'EclipseContext' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.contexts/target/classes')
6. WARNING in /src/org/eclipse/e4/ui/internal/workbench/SelectionAggregator.java
 (at line 206)
((EclipseContext) context).notifyOnDisposal(new IContextDisposalListener() {
Discouraged access: The type 'IContextDisposalListener' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.e4.core.contexts/target/classes')

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

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/workbench/addons/CommandProcessingAddon.java
 (at line 28)
import org.eclipse.e4.core.commands.internal.HandlerServiceImpl;
Discouraged access: The type 'HandlerServiceImpl' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4M/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.core.commands/target/classes')