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/di/osgi/DIActivator.java (at line 23) 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/di/osgi/DIActivator.java (at line 24) private ServiceTracker logTracker = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
3. WARNING in /src/org/eclipse/e4/core/internal/di/osgi/DIActivator.java (at line 57) debugTracker = new ServiceTracker(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 |
4. WARNING in /src/org/eclipse/e4/core/internal/di/osgi/DIActivator.java (at line 57) debugTracker = new ServiceTracker(bundleContext, DebugOptions.class.getName(), null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
5. WARNING in /src/org/eclipse/e4/core/internal/di/osgi/DIActivator.java (at line 73) logTracker = new ServiceTracker(bundleContext, FrameworkLog.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 |
6. WARNING in /src/org/eclipse/e4/core/internal/di/osgi/DIActivator.java (at line 73) logTracker = new ServiceTracker(bundleContext, FrameworkLog.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/di/osgi/ProviderHelper.java (at line 60) ServiceReference[] refs = bundleContext.getServiceReferences(ExtendedObjectSupplier.SERVICE_NAME, filter); ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized |
2. WARNING in /src/org/eclipse/e4/core/internal/di/osgi/ProviderHelper.java (at line 62) ExtendedObjectSupplier supplier = (ExtendedObjectSupplier) bundleContext.getService(refs[0]); Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext |
3. WARNING in /src/org/eclipse/e4/core/internal/di/osgi/ProviderHelper.java (at line 62) ExtendedObjectSupplier supplier = (ExtendedObjectSupplier) bundleContext.getService(refs[0]); Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object> |
top | errors | others warnings | discouraged warnings |
top | errors | others warnings | forbidden warnings |