errors | others warnings | forbidden warnings | discouraged warnings |
top | others warnings | forbidden warnings | discouraged warnings |
top | errors | forbidden warnings | discouraged 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 |
1. WARNING in /src/org/eclipse/e4/core/internal/contexts/osgi/OSGiContextStrategy.java (at line 38) public class OSGiContextStrategy implements IContextDisposalListener, ILookupStrategy, IDisposable, 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 43) 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 64) 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 64) 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 72) 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 87) 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 93) 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 105) 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 137) 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 139) 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 139) 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 191) 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 193) 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 193) 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 200) 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 200) 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 225) 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 229) 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 239) 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 254) private String serviceName(ServiceReference reference) { ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized |
top | errors | others warnings | discouraged warnings |
top | errors | others warnings | forbidden warnings |