Compiler log for org.eclipse.e4.core.contexts_0.9.0.v20101125-1630 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 23

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/core/internal/contexts/osgi/ContextsActivator.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/ContextsActivator.java
 (at line 22)
private ServiceTracker debugTracker = null;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
2. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/ContextsActivator.java
 (at line 53)
getDefault().debugTracker = new ServiceTracker(getDefault().bundleContext, 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
3. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/ContextsActivator.java
 (at line 53)
getDefault().debugTracker = new ServiceTracker(getDefault().bundleContext, DebugOptions.class.getName(), null);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized

/src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java : 20 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 37)
public class OSGiContextStrategy implements IContextDisposalListener, ILookupStrategy, ServiceTrackerCustomizer {
ServiceTrackerCustomizer is a raw type. References to generic type ServiceTrackerCustomizer<S,T> should be parameterized
2. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 42)
ServiceTracker tracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
3. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 63)
final Map<String, ServiceReference> functionKeys = Collections.synchronizedMap(new HashMap<String, ServiceReference>());
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
4. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 63)
final Map<String, ServiceReference> functionKeys = Collections.synchronizedMap(new HashMap<String, ServiceReference>());
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
5. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 71)
ServiceReference[] existing = bundleContext.getServiceReferences(IContextFunction.SERVICE_NAME, null);
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
6. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 86)
private void add(ServiceReference ref) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
7. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 92)
public ServiceReference lookup(String key) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
8. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 104)
private void remove(ServiceReference ref) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
9. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 136)
public Object addingService(ServiceReference reference) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
10. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 138)
Object newValue = bundleContext.getService(reference);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
11. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 138)
Object newValue = bundleContext.getService(reference);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
12. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 190)
ServiceReference ref = getContextFunction(name);
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
13. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 192)
return bundleContext.getService(ref);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
14. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 192)
return bundleContext.getService(ref);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
15. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 199)
data.tracker = new ServiceTracker(bundleContext, name, this);
Type safety: The constructor ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized
16. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 199)
data.tracker = new ServiceTracker(bundleContext, name, this);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
17. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 224)
private ServiceReference getContextFunction(String name) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
18. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 228)
public void modifiedService(ServiceReference reference, Object service) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
19. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 238)
public void removedService(ServiceReference reference, Object service) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
20. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java
 (at line 253)
private String serviceName(ServiceReference reference) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings