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/ui/internal/services/Activator.java (at line 29) private ServiceRegistration contextServiceReg; ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
2. WARNING in /src/org/eclipse/e4/ui/internal/services/Activator.java (at line 30) private ServiceRegistration handlerServiceReg; ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
3. WARNING in /src/org/eclipse/e4/ui/internal/services/Activator.java (at line 32) private ServiceTracker eventAdminTracker; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
4. WARNING in /src/org/eclipse/e4/ui/internal/services/Activator.java (at line 61) eventAdminTracker = new ServiceTracker(bundleContext, EventAdmin.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 |
5. WARNING in /src/org/eclipse/e4/ui/internal/services/Activator.java (at line 61) eventAdminTracker = new ServiceTracker(bundleContext, EventAdmin.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/ui/internal/services/ActiveContextsFunction.java (at line 28) Set<String> locals = (Set<String>) current.getLocal(ContextContextService.LOCAL_CONTEXTS); Type safety: Unchecked cast from Object to Set<String> |
1. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java (at line 26) private static final String CONTEXT_PREFIX = "CTX_"; The field ContextContextService.CONTEXT_PREFIX is never read locally |
2. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java (at line 46) Set<String> locals = (Set<String>) eclipseContext .getLocal(LOCAL_CONTEXTS); Type safety: Unchecked cast from Object to Set<String> |
3. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java (at line 52) locals = new HashSet(locals); Type safety: The constructor HashSet(Collection) belongs to the raw type HashSet. References to generic type HashSet<E> should be parameterized |
4. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java (at line 52) locals = new HashSet(locals); Type safety: The expression of type HashSet needs unchecked conversion to conform to Set<String> |
5. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java (at line 52) locals = new HashSet(locals); HashSet is a raw type. References to generic type HashSet<E> should be parameterized |
6. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java (at line 66) Set<String> locals = (Set<String>) eclipseContext .getLocal(LOCAL_CONTEXTS); Type safety: Unchecked cast from Object to Set<String> |
7. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java (at line 70) locals = new HashSet(locals); Type safety: The constructor HashSet(Collection) belongs to the raw type HashSet. References to generic type HashSet<E> should be parameterized |
8. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java (at line 70) locals = new HashSet(locals); Type safety: The expression of type HashSet needs unchecked conversion to conform to Set<String> |
9. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java (at line 70) locals = new HashSet(locals); HashSet is a raw type. References to generic type HashSet<E> should be parameterized |
10. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java (at line 82) Set<String> set = (Set<String>) eclipseContext .get(IServiceConstants.ACTIVE_CONTEXTS); Type safety: Unchecked cast from Object to Set<String> |
1. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java (at line 37) private Map<EventHandler, ServiceRegistration> registrations = new HashMap<EventHandler, ServiceRegistration>(); ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
2. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java (at line 37) private Map<EventHandler, ServiceRegistration> registrations = new HashMap<EventHandler, ServiceRegistration>(); ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
3. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java (at line 121) ServiceRegistration registration = bundleContext.registerService(EventHandler.class.getName(), wrappedHandler, d); ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
4. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java (at line 127) ServiceRegistration registration = (ServiceRegistration) registrations.remove(eventHandler); ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
5. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java (at line 127) ServiceRegistration registration = (ServiceRegistration) registrations.remove(eventHandler); ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
6. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java (at line 136) Collection<ServiceRegistration> values = registrations.values(); ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
7. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java (at line 137) ServiceRegistration[] array = values.toArray(new ServiceRegistration[values.size()]); ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
top | errors | others warnings | discouraged warnings |
top | errors | others warnings | forbidden warnings |